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

2 visualizaciones (últimos 30 días)
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….).

Respuestas (1)

Piyush Dubey
Piyush Dubey el 6 de Sept. de 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.

Categorías

Más información sobre Testing Frameworks en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by