Opening R2018b .m files in R2019b

1 Ansicht (letzte 30 Tage)
Aram Cariaga
Aram Cariaga am 15 Sep. 2019
Beantwortet: Walter Roberson am 15 Sep. 2019
In short, I am unable to open .m files I wrote in R2018b in R2019b, with R2019b claiming the "file does not exist." Any help with this issue would be greatly appreciated. Thank you so much in advance!
  2 Kommentare
Steven Lord
Steven Lord am 15 Sep. 2019
Can you show us or tell us exactly how you try to open the .m file (if you enter a command, show us that exact command; if you use the toolstrip, tell us exactly the steps you follow?)
Can you show us the full and exact text of any error message you receive, all the text displayed in red?
Aram Cariaga
Aram Cariaga am 15 Sep. 2019
Ahhh I apologize. I attempt to open the file through the "OPEN" button and the following error pops up (associated folder is attached).
I have already added the Folder to the path, so I am very confused as to what is going on.
R2019bError.PNG

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 15 Sep. 2019
Quick Access gives you access to paths that were either used "recently" or that you marked as favourite. It does not, however, check that the path is valid before trying to use it, and if you move the file after it made it on to Quick Access then Quick Access does not track where the file went.
Your Quick Access is to a file that used to be in ME 103\Homework 2 but you moved the file to ME 103\Homework Assignments\Homework 2 .
Just do not access it through Quick Access, and go directly to the directory the file lives in.

Weitere Antworten (1)

per isakson
per isakson am 15 Sep. 2019
Bearbeitet: per isakson am 15 Sep. 2019
Most likely the reason is that your search path of the R2018b installation is not carried over to the R2019b installation. See Search Path View and change MATLAB® search path
"unable to open" Do you really mean open your files in the editor? Exactly how did you try to open the file? I assumed that you cannot run your files.
  1 Kommentar
Aram Cariaga
Aram Cariaga am 15 Sep. 2019
Hi thank you for your quick response! I have included more details above.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Entering Commands finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by