Error while saving Simulink model

조회 수: 21(최근 30일)
Vincenzo Genovese
Vincenzo Genovese 2022년 5월 1일
댓글: Vincenzo Genovese 2022년 5월 2일
This is the message error if I try to save a Simulink model (both by using the 'save' menu command and the command line 'save_system' ):
An error occurred during a callback while saving 'myFile.slx'. The previously saved version of this file (if any) has not been
Caused by:
Width and height must be > 0.
Please note that:
  • the error pesists even removing all the callbacks used by the model;
  • I already tried the command line: restoredefaultpath.
  댓글 수: 2
Vincenzo Genovese
Vincenzo Genovese 2022년 5월 1일
I have reported all info related to the error. However, in the last session Matlab closed abruptly and at my restart (using the autosave version of the model) the error disappeared.

댓글을 달려면 로그인하십시오.


Fangjun Jiang
Fangjun Jiang 2022년 5월 1일
run "dbstop if error" in MATLAB Command Window first and then save, see if you can get any lead where the error occured.
  댓글 수: 1
Vincenzo Genovese
Vincenzo Genovese 2022년 5월 2일
Ok . I have issued "dbstop if error" in command window. Now I am waiting for a new error occurrence.

댓글을 달려면 로그인하십시오.




Community Treasure Hunt

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

Start Hunting!

Translated by