Simulink model initialization time is huge

조회 수: 1 (최근 30일)
Francesco Porretta
Francesco Porretta 2022년 1월 10일
I'm trying to run a simulink model of an MPC.
All works perfectly at the beginning, but then I decided to increase the simulation time from 15 sec to 20 sec. As I expected, both the initialization of the model and the simulation require more time.
However, when I come back to 15 seconds, it happens that the initialization time required by simulink still remain high, and actually increase! I do not get why (it should reduce, coming back to the initial situation - I mean, the time should be the same of before my change from 15 sec to 20 sec)
There is a way for solving it?

답변 (0개)

카테고리

Help CenterFile Exchange에서 Model Predictive Control Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by