Error while saving Simulink model
조회 수: 28 (최근 30일)
이전 댓글 표시
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
changed.
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.
Regards
Vincenzo
댓글 수: 2
Fangjun Jiang
2022년 5월 1일
"the error pesists even removing all the callbacks used by the model". Apparently the callbacks have not been completely removed, because "An error occurred during a callback".
Show as much info as possible related to the error.
답변 (1개)
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.
참고 항목
카테고리
Help Center 및 File Exchange에서 Simulink Functions에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!