Help simulink
3 views (last 30 days)
Show older comments
I have this block: http://img228.imageshack.us/img228/3016/doubt.png
I send the values to workspace to create a graph. But to create this graph, i using a m-file, but I've got to be running it. Any way to make this run automatically when you run the simulink?
0 Comments
Accepted Answer
Paulo Silva
on 29 Mar 2011
File->Model Properties->Callbacks->StopFcn
Put the name of the m file in the StopFcn, that way your code will run right after the simulation is done.
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!