MIT's spacecraft simulator for control algorithm development
...Algorithms may be implemented in C or Embedded MATLAB and executed in the MATLAB simulation environment to verify general desired behavior. With some limitations, the code used in the simulation can be directly transferred to the SPHERES hardware.
We are sharing this project with the public to gather more interest for SPHERES Guest Scientists. Feel free to use and contribute to this code base, just don't forget to credit the MIT Space Systems Lab if you distribute any results.
The Dutchroll project provides Open Source applications for Matlab and Simulink, with the emphasis on aerospace engineering. The main application is the Flight Dynamics and Control toolbox; other applications will be derived from that toolbox.