I get an inconsistent, non-descriptive error
Show older comments
I made a model in Simulink, which is giving me an error that I can't find anywhere:
Unexpected exception (class _com_error) was caught.
Component: Simulink | Category: Model error
There is no trace, and it's not consistent. Sometimes I get it, sometimes not, even if I didn't even change anything between the two runs.
After getting this error, the Simulink model becomes partly unresponsive. If I change a constant's value, the UI doesn't resemble that, it stays on the old value. If I add a new block, it only renders the border, not the inside text or graphics. I can't move the blocks around or delete them. If I save the model after changing the values, and close the model then reopen, the new value is saved, but that doesn't seem to be tha case with moving or deleting blocks. Also I can't close the model by clicking the X button, only by using the Task Manager.
I rebuilt the model from scratch but the same issue is present.
Any idea on what could be the problem? Did I mess something up? Or is it a bug in Simulink?
2 Comments
Bertold Héjja
on 14 Jun 2021
Cris LaPierre
on 16 Jun 2021
Not sure there is enough informatino for us to reproduce the error. Consider sharing your model (you can attach it to your post using the paperclip icon), or contacting support.
Answers (0)
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!