Spacecraft Simulation
Use the spacecraft blocks, available in the Aerospace Blockset > Spacecraft sublibrary, to model, simulate, and visualize the dynamics of spacecraft.
Blocks
| Attitude Dynamics | Model attitude dynamics of one or more spacecraft (Since R2023a) | 
| Attitude Profile (Nadir Pointing) | Calculate shortest quaternion rotation | 
| CubeSat Vehicle Earth (Nadir) Pointing | Model CubeSat vehicle whose primary alignment vector points towards center of Earth | 
| Line of Sight Access | Determine line of sight (LOS) access between one or more source positions and one or more target positions (Since R2024b) | 
| Orbit Propagator Kepler (unperturbed) | Propagate orbit of one or more spacecraft using Kepler universal variable formulation | 
| Orbit Propagator Numerical (high precision) | Propagate orbit of one or more spacecraft using Kepler universal variable formulation | 
| Spacecraft Dynamics | Model dynamics of one or more spacecraft (Since R2021b) | 
Topics
- Model SpacecraftModel, simulate, and visualize the motion and dynamics of spacecraft using spacecraft dynamics, orbit propagator, and CubeSat blocks. 
- Model and Simulate CubeSatsModel, simulate, analyze, and visualize the motion and dynamics of spacecraft. 
- Orbit Propagation MethodsAnalyze the motion and dynamics of aerospace vehicles with short-period requirements, boundary line, and altitude contour plots. 
- Getting Started with the Spacecraft Dynamics BlockThis example shows how to model six degree-of-freedom rigid-body dynamics of a spacecraft or constellation of spacecraft with the Spacecraft Dynamics block from Aerospace Blockset™. 
- Constellation Modeling with the Orbit Propagator BlockPropagate the orbits of a constellation of satellites and compute and visualize access intervals between the individual satellites and several ground stations. 
- Developing the Apollo Lunar Module Digital AutopilotDevelop Apollo Lunar Module digital autopilot using Simulink® and Aerospace Blockset™. 









