MATLAB Answers

Problem to load a path

22 views (last 30 days)
Hugo Mendonça
Hugo Mendonça on 24 Jan 2020
Commented: Hugo Mendonça on 28 Jan 2020
Hi, everyone!
I have a little issue with my Matlab. I run the release 2019b in OsX.
The problem is every time I start it, all of my paths previously saved is erased because Matlab cannot recognize a character in the path.
Warning: Name is nonexistent or not a directory: /Users/PolitXcnica ...
the X represents what is in the system "é".
As a result, I always have to load all of the paths when I start Matlab.
PS: I cannot change the name "Politécnica".
I appreciate any help.
Hugo Mendonça
Hugo Mendonça on 27 Jan 2020
Thank you, Jakob.
As you said, it is not a pretty solution, but it avoids loading manually every time userpath.

Sign in to comment.

Answers (1)

Cam Salzberger
Cam Salzberger on 24 Jan 2020
I haven't seen this before, though it looks similar to this issue with opening files. If I were to guess at a solution...
This looks like it's your userpath that gets automatically added to the top of the MATLAB Search Path upon startup. If you don't store files there that need to be available on the search path, you can just remove it:
Alternatively, you could set up a different folder somewhere without a non-ASCII character on the full path to serve as your user path, and set it to use that in the future:
Hugo Mendonça
Hugo Mendonça on 28 Jan 2020
Thank you again, Cam!
I did something similarly. I've created a shortcut with Jakob's suggestion, so with a only click I have it.

Sign in to comment.




Community Treasure Hunt

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

Start Hunting!