Assuming mydiagram.mdl is a Simulink block diagram, typing the model
file name at the command line without parameters opens the block
diagram.
e.g. >>mydiagram
Typing the model file with the 3 empty parameters and 'lincompile'
e.g >>mydiagram([ ],[ ], [ ], 'lincompile')
allows later calls with time, state vector, control vector, and either
'outputs' or 'derivs' specified
e.g. >>mydiagram( 0, state_vector, control_vector, 'derivs')
Where is this discussed in the documentation? Are there other options
besides 'outputs' and 'derivs'?
Please post responses here or email me directly at
j.d.m...@larc.nasa.gov
John D. McMinn
Do you know about the SIM and SIMSET functions? If not, check out the
Simulink documentation at
<http://www.mathworks.com/access/helpdesk/help/toolbox/simulink/simulink.sht
ml>
and look up either "sim command" in the index pane or the "Running a
Simulation" heading in the table of contents pane.
Hope this helps,
Amanda
Dana McMinn <j.d.m...@larc.nasa.gov> wrote in message
news:392FD58C...@larc.nasa.gov...