how to set pathdef preferance?

20 ビュー (過去 30 日間)
Anmol Kodgire
Anmol Kodgire 2018 年 2 月 21 日
回答済み: Bhuvnesh Singh 2018 年 2 月 26 日
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.

回答 (1 件)

Bhuvnesh Singh
Bhuvnesh Singh 2018 年 2 月 26 日
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:

カテゴリ

Help Center および File ExchangeSearch Path についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by