MATLAB: Simulation time on Simulink

simulationsimulink

Hi people… For exemplo, if my simulation time in simulink is 10, this represents 10 realy seconds?

Best Answer

You set the start and stop time of your simulation model. If you set the start time to be 0, and the stop time to be 10 and then click the "Start Simulation" button. It might take just 0.1 second to finish the simulation, or it might take 1 hour. It depends on how complex the model is, what is your simulation solver setting and what is your computer CPU power, etc. The Simulink software just generates the clock from 0 to 10 seconds and calculates every bit of data needed at every time step that you set up.
Related Question