MATLAB Answers

0

Can I make the sampling time changeable during the simulation in simulink?

Asked by Hussein Sharadga on 12 Oct 2019
Latest activity Answered by Samatha Aleti on 15 Oct 2019
Can I make the sampling time changeable during the simulation?
For example, I want the sample time to be 0.0005 in the beginning and then change it to 0.00001 after 3 seconds.
I am using simulink to build contoller for PV system and I want the sampling time to be changeable.
I used the continous type for simulation.

  0 Comments

Sign in to comment.

1 Answer

Answer by Samatha Aleti on 15 Oct 2019

Sample time cannot be changed during simulation. To change a sample time after simulation begins, you must stop the simulation, reset the SampleTime parameter and then restart execution. Refer the following link for more details:

  0 Comments

Sign in to comment.