simulation never terminate when it reaches to 99.99% progress with R2021b normal & accelerator mode.
2 次查看(过去 30 天)
显示 更早的评论
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….).
0 个评论
回答(1 个)
Piyush Dubey
2023-9-6
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.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Testing Frameworks 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!