How do I update my Simulink model from the MATLAB command line?
118 views (last 30 days)
Show older comments
MathWorks Support Team
on 27 Jun 2009
Commented: Noam Greenboim
on 11 Jul 2017
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
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)
See Also
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!