DFFSimulation:

Path: FormationFlying/IntegratedSim

% Initialize and run a multiple spacecraft simulation with the DFF software.

--------------------------------------------------------------------------
   Form:
   d = DFFSimulation( sim )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   sim                 (.)    Simulation data structure, containing simulation
                                parameters and spacecraft data
   recordTargetState   (1)    Record the target state or not?    (optional)
   showTeamOrg         (1)    Show the team organization or not? (optional)
   showMsgQ            (1)    Show the Message Queue or not?     (optional)

   -------
   Outputs
   -------
   d            (.)    Output data structure, containing time histories of
                          all states and controls

--------------------------------------------------------------------------