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 commentaire

Sagar Atla
Sagar Atla le 25 Nov 2019
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.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Startup and Shutdown dans Centre d'aide et File Exchange

Produits

Version

R2019a

Commenté :

le 25 Nov 2019

Community Treasure Hunt

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

Start Hunting!

Translated by