One-Step a Simulink Simulation from the MATLAB command line
11 views (last 30 days)
I'm trying to step through a simulink model by just executing time 0 then 1, then 2, etc. from the command line. Rather than using the debugger, I'd like to execute the entire model each time, assuming its fixed-step.
Something like this would be preffered: simulate('model_name', onestep);
Is there any way to do this in simulink/MATLAB?