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

36 ビュー (過去 30 日間)
Henning Oehmen
Henning Oehmen 2022 年 4 月 8 日
コメント済み: Anjaneyulu Bairi 2023 年 11 月 9 日
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 Center および File ExchangeProgramming についてさらに検索

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by