I have an output data from a simulink model.
I want to save the output data inside a loop for a two different input values.
How can I do that?
For example, I want to have, np = 800, as input in my simulink model and after that I want to save it as .mat file.
After that I want to do the same thing for input np = 1000.
np = 800+ii;
The above code gives me a M with 200 columns instead of 2 columns...