Hi,
I have to run a simulink model from a script in Matlab. I'm using the sim command to run the model but I not find the right command to set the initial state. I am able to do it from the model (Simulation –> configuration parameters –> initial state) but I have some problem to do it from a script. Could anyone suggest me a solution?
Thanks
Best Answer