How to use one matlab model for different variable in it using matlab script file or how can a m-file progrmming can use a already build model in simulink to run it multiple times?
2 views (last 30 days)
Show older comments
how to access simulink model using m-file function.
0 Comments
Accepted Answer
TAB
on 6 Apr 2015
doc sim
You can sim command to run your model. To run multiple time, use command in loop or call it multiple times.
2 Comments
TAB
on 7 Apr 2015
X_Y graph window will display the result of latest simulation.Results from earlier simulations will disappear. You can save the simulation results from each simulation in base workspace and compare them as you want.
More Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!