Can't open Simulink Model: "state not recoverable" error

37 次查看(过去 30 天)
Hey everyone,
after restarting Matlab I am getting the following error when trying to open a Simulink model:
Caught "std::exception" Exception message is:
Loading C:\Program Files\MATLAB\R2021b\bin\win64\simulink_plugins\record_playback\libmwstreamout_blocks_reg.dllfailed with error: Die angegebene Prozedur wurde nicht gefunden.
: state not recoverable: state not recoverable
Caught "std::exception" Exception message is:
Loading C:\Program Files\MATLAB\R2021b\bin\win64\builtins\shared_sdi\mwshared_sdi_mcos_builtinimpl.dllfailed with error: Die angegebene Prozedur wurde nicht gefunden.
: state not recoverable: state not recoverable
The text after "failed with error" translates to: "The specified procedure was not found."
As the error seems to be a corrupted Matlab install, is there a way around a complete re-install?
How can I prevent this happening in the future?
A bit more information on what lead to the error:
  • Deleted a manually defined data type for monitoring activity of a Stateflow State Chart from data dictionary of Simulink Model
  • Model unexpectedly still works fine, no compilation errors
  • Closed the Simulink model
  • Closed Matlab
  • Opened Matlab
  • Opened Matlab Project
  • Opening the Simulink model fails
Thanks in advance!

回答(1 个)

Anjaneyulu Bairi
Anjaneyulu Bairi 2023-11-8
I understand that you are trying to find a way to completely re-install MATLAB as you are assuming the errors are related to corrupted installation of MATLAB. Please try the below troubleshooting steps.
Now check with the same model whether you are getting any errors.
Hope it helps to resolve your query.

类别

Help CenterFile Exchange 中查找有关 Programming 的更多信息

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by