Simulink "model save"

When I try to save a Simulink file by pressing CTRL + S I get the following error message:
File "\\path\fileName.slx" is missing, which will prevent you from saving this model properly. If the file moved, then close the model and open it from the new location.
The path name contains regular letters, numbers and $. I then get the option to save the model using a new name, which works fine. Some new models does not have this problem to begin with but develop it a little later. This happens in both the 2018a and 2019a version. Any suggestions of how to avoid this problem?

1 个评论

Hey
As per the documentation, this says that the file names must not be
  • A language keyword (e.g., if, for, end)
  • A reserved name: 'simulink', 'sl', 'sf'
  • A MATLAB® software command
  • The total number of characters in the model name must not be greater than a certain maximum, usually 63 characters.
Hence no spaces or special characters can be used as a model name
Could you elaborate on this please as I never could reproduce this error since even if u delete the file you are working with, simulink restores the last saved file from the ".bak" file that it always generates.

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Startup and Shutdown 的更多信息

产品

版本

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by