how to run the simulink model for defined time

one simulink model run for defined time (10 s) and another simulink model run for long time evenif i have denfined the time (10 s). Now i m copying the simulink of 2nd model in simulink workspace of first model. Then run the model, but i see only copied second model is going well, first not. please tell me what could be the reason

 Accepted Answer

The time it takes to run a simulink model depends on the complexity of your model. If you have a small model, even you set the stop time to 100000 s, the simulation will be done in less then 1 s. If your model is complex, with a stop time set to 10 s can run for a long time, maybe hours

More Answers (0)

Categories

Find more on Simulink in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!