Why does Matlab keep forgetting my path?
28 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
It seems that since around 3 ro 4 years ago, my current installation of matlab seems to regularly forget the directories I have manually added to the path. Several times i have called tech support and they do some chache clearing, path rebuilding and whatnot, and it is fixed. Then a few months later is is broke again. I can keep fixing it, but wondering why. I never had issues in the 20 years prior!
6 comentarios
Walter Roberson
el 18 de En. de 2020
Historically, using the Add-On Explorer to add on files could result in a corrupt path. That would have been fixed a few releases ago, though.
Respuestas (1)
Andrew Janke
el 31 de En. de 2020
If I were you, I would give up on setting your path with pathtool or the Matlab GUI (since those try to change the path in the Matlab installation itself) and switch to configuring your path in a user startup.m file. Just stick addpath statements in your startup.m. That'll be more robust and a little "cleaner", since you can share your startup.m between different computers, and it'll work in cases where you don't have write access to the Matlab installation itself.
Ver también
Categorías
Más información sobre Startup and Shutdown en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!