how to set pathdef preferance?

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.

Respuestas (1)

Bhuvnesh Singh
Bhuvnesh Singh el 26 de Feb. de 2018

0 votos

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:

Categorías

Más información sobre Startup and Shutdown en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 21 de Feb. de 2018

Respondida:

el 26 de Feb. de 2018

Community Treasure Hunt

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

Start Hunting!

Translated by