File does not exist error
Mostrar comentarios más antiguos
I would please like to know what to do when I am trying to open an m-file and it displays the following message:

Moreover when I then try to open the file directly in the folder it displays this messages
Error using cd
4 comentarios
Walter Roberson
el 11 de Mayo de 2019
What kind of device is F: drive and what kind of file system is it and how old is it?
Directory names beginning with ... are not valid in 8.3 naming systems and historically long filename support did not always work properly for CD or early generation USB stick drives.
Image Analyst
el 11 de Mayo de 2019
Please tell us exactly what you did in the first case and the second case.
In the first case, did you see the file in the current folder panel?
In the second case did you use Windows "File Explorer"? Or MATLAB's edit function on the command line? Or something else?
James Ankrah
el 11 de Mayo de 2019
Walter Roberson
el 11 de Mayo de 2019
There is a possibility that it would work if you renamed the directories so that there is no space in the name.
However I suspect that instead you might have permission problems. Experiment with starting matlab with Run As Administrator. If you are able to access the directory with that, then you have a permission problem and need to use File Explorer to examine the security settings on the directories to check ownership and permissions.
Respuestas (0)
Categorías
Más información sobre File Operations en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!