Clear Filters
Clear Filters

simulation never terminate when it reaches to 99.99% progress with R2021b normal & accelerator mode.

3 views (last 30 days)
We are planning to upgrade Matlab version from R2017b to R2021b. Now we are testing our Simulink models with R2021b. The models are working perfect with R2017b.
Issue which we have for R2021b is:The models can be run with R2021b Rapid Accelerator mode, but not with R2021b Normal & Accelerator mode. When simulation run with R2021b Normal & Accelerator mode, the error phenomime is: the simulation never terminate when it reaches 99.99% progress, and at this 99.99% stage matlab is stucked, no operation works both in operation bar and command window (ctrl+C….).

Answers (1)

Piyush Dubey
Piyush Dubey on 6 Sep 2023
I understand that you have updated MATLAB from version R2017b to R2021b, now that you are trying to test your old simulations on the new update, they seem to work well in the Rapid Accelerator mode but gets stuck in Normal and Accelerator mode, which was not seen in R2017b.
Please know that the lag and hanging of Simulink usually happens because of the time steps taken by any solver becoming extremely small.
You can refer to the following MATLAB Answers thread where a similar issue has been addressed:
However, it is possible that the updated version of MATLAB might have deprecated certain functionalities that were present before or replaced with new functionalities. Redesigning the model or replacement of the blocks that have been updated in the new version after referring to the release notes might help.
Please refer to the following link for MATLAB Release Notes:
Hope this helps.

Categories

Find more on Modeling in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!