I can't run a file
Show older comments
Hi I am trying to run a file but i keep getting this error.

6 Comments
Manikanta Aditya
on 31 Mar 2024
Edited: Manikanta Aditya
on 31 Mar 2024
First save your MATLAB file name with proper name and then try to run the file as mentioned check the letters numbers and underscores.
Ibraheem
on 31 Mar 2024
Alexander
on 31 Mar 2024
It would make things easier if just show us the filename of your script.
Ibraheem
on 31 Mar 2024
Voss
on 31 Mar 2024
In the MATLAB editor, select "Save As", as described in Steven Lord's answer:
https://www.mathworks.com/matlabcentral/answers/2100921-i-can-t-run-a-file#answer_1433926
Or you can change the m-file's name through your operating system, the same way you might rename any file.
Accepted Answer
More Answers (0)
Categories
Find more on Adding custom doc in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!