Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

.mdl file call options from cmd line

11 views
Skip to first unread message

Dana McMinn

unread,
May 27, 2000, 3:00:00 AM5/27/00
to
Hi, this might be a simple quesion, but I have not been able to find
documentation on calling simulink *.mdl files directly from the cmd
line.

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

Amanda Galtman

unread,
May 30, 2000, 3:00:00 AM5/30/00
to
Hi John,

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...

0 new messages