How can I run a SimMechanics simulation from a matlab script file/ workspace?
Show older comments
I have a script file which currently uses "From Workspace" / "To workspace" blocks as inputs / outputs for a simMechanics model. This works fine. However I wish to loop through many simulations of the model in my script, so that I can take the output of the model on a first run, do something with that output in my script file and then update the input of the model and run it again, and so on.
How would I do this? Any help would be appreciated!
1 Comment
Walter Roberson
on 5 Nov 2012
Please use better tags for this question; see http://www.mathworks.co.uk/matlabcentral/answers/43073-a-guide-to-tags
Accepted Answer
More Answers (0)
Categories
Find more on Simulink in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!