- Uninstall MATLAB.
- Remove all MATLAB Installation folders.
- Remove all Preferences and temporary files related to MATLAB.
- Restart your computer.
- Re-install MATLAB.
- Please refer to this link for more information: https://www.mathworks.com/help/install/ug/uninstall-mathworks-products.html
Can't open Simulink Model: "state not recoverable" error
36 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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!
0 Commenti
Risposte (1)
Anjaneyulu Bairi
il 8 Nov 2023
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.
1 Commento
Anjaneyulu Bairi
il 9 Nov 2023
And also please visit the below link to MATLAB Answer ,it might be helpful
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!