how to set pathdef preferance?

6 visualizzazioni (ultimi 30 giorni)
Anmol Kodgire
Anmol Kodgire il 21 Feb 2018
Risposto: Bhuvnesh Singh il 26 Feb 2018
I have two pathdef files, one in c drive and other in local drive. I want to set first preference to pathdef.m in local drive. I have used startup.m but whenever I restart matlab , it is using pathdef.m from c drive.

Risposte (1)

Bhuvnesh Singh
Bhuvnesh Singh il 26 Feb 2018
You can use savepath folderName/pathdef.m saves the current search path to pathdef.m located in the folder specified by folderName. If you do not specify folderName, then savepath saves pathdef.m in the current folder.
Follow the below link for information:

Categorie

Scopri di più su Startup and Shutdown in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by