How do I update my Simulink model from the MATLAB command line?

118 views (last 30 days)
I want to force an update (ctrl + D) on my Simulink model using a prompt from the command line.
I would also like to generally know more about the command line functionality of Simulink.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
In the MATLAB command window, type the following:
set_param(gcs,'SimulationCommand','Update')
This is the same as forcing an update (Ctrl + D) from the Simulink window.
For more information on how to use the command line functionality of Simulink, see the attached Tech Note 1903.

More Answers (0)

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!