Help simulink
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Paulo Silva
2011-3-29
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.
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!