Reputation: 1320
I have given a Simulink model which I am controlling from my C++ program. From the Matlab engine I want to run the Simulink one step at a time for all of my given input. How can I run the simulation from my C++ program one step at a time?
Upvotes: 0
Views: 1718
Reputation: 25140
See this: http://www.mathworks.com/matlabcentral/answers/7267-what-is-the-best-way-to-execute-a-simulink-model-step-by-step-interactively-from-matlab for various approaches.
Upvotes: 1