I can't save any simulink model.

13 Ansichten (letzte 30 Tage)
Maximilian Karl
Maximilian Karl am 3 Mai 2016
Kommentiert: Vaibhav Awale am 6 Mai 2016
When I try to save a simulink model I get the error:
An error occurred during a callback while saving 'xxx.slx'. The previously saved version of this file (if any) has not been changed.
Undefined variable "rmigraph" or class "rmigraph.bdHasExternalData".
It even happens when saving a completely empty simulink model. Any other file manipulation with Matlab works.
A similar error shows up when trying to compile the simulink model:
Undefined variable "rmisl" or class "rmisl.blockTable".
My system:
  • MATLAB R2014b
  • Ubuntu 14.04
  2 Kommentare
Walter Roberson
Walter Roberson am 4 Mai 2016
Both of those appear to be related to Simulink Verification
You could try reinstalling that product.
Vaibhav Awale
Vaibhav Awale am 6 Mai 2016
Can you check if you have anything written in PreSaveFcn callback?
Also you can try saving the model from command line using save_system
If above steps don't help, you can execute the following command at MATLAB command window and then try to save the model:
restoredefaultpath

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Programmatic Model Editing finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by