- Verify the file path and filename: Ensure the path “D:\SVN\18ST002 - SeatBrain 2\Working\03-SW Modules & Integration\01-Modules\Architecture\AM_Project\” is correct and accessible. Also, make sure the filename “Parameter_MOTOCMD.m” is correct.
- File permissions: Ensure you have the necessary permissions to read from and write to the specified file and directory.
- File status: Make sure the file “Parameter_MOTCMD.m” is not open in another program or editor. In rare cases, the file may be corrupted. Try opening it directly in MATLAB to see it’s readable.
- MATLAB Path: Make sure the directory containing the folder “Parameter_MOTCMD.m” is added to the MATLAB path.
- Model configuration: Check the Simulink model configuration to make sure it is correctly set up in the “Parameter_MOTCMD.m” file.
- Manual save: Try opening “Parameter_MOTCMD.m” in MATLAB, make a minor edit, and save it to see if you encounter any issues. This will help determine if the problem is with the Simulink model or the MATLAB file itself.
How can I change the old path of a MATLAB file to a new path?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I received a Simulink model (named: MotorCommand) which corresponds to a MATLAB file (named: Parameter_MotCmd) containing the definition of its various variables. Every time I make changes to the Simulink model and try to save it, I encounter the following issue:
How can I fix this problem?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1708476/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1708481/image.png)
0 commentaires
Réponses (1)
Zinea
le 6 Juin 2024
The error you are encountering may be solved by the following methods:
Hope it helps!
0 commentaires
Voir également
Catégories
En savoir plus sur Interactive Model Editing dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!