Where to manually store a path.m file?

9 ビュー (過去 30 日間)
RSchalb
RSchalb 2019 年 10 月 21 日
回答済み: Fangjun Jiang 2019 年 10 月 21 日
Hello all,
I am using MATLAB 2018b on a work computer. I can load in path.m files, but I do not have admin rights to save them for future use (loading them in for every new session is not an option as this takes a long time).
However, I can save the path.m file in a different location. Matlab tells me: "for matlab to use that pathdef.m in future sessions, save it in your matlab startup folder (the folder from which you start matlab)." I need to ask my work's ICT desk to do this for me, as they have the admin rights.
Which folder is MATLAB referring to, i.e. to where should this path.m file be copied to? Can I just copy it to C:\Program Files\MATLAB\R2018b , or does it need to go in a specific subfolder (e.g. ...\bin)?
Thanks!

回答 (1 件)

Fangjun Jiang
Fangjun Jiang 2019 年 10 月 21 日
When you start MATLAB, the Command window will show you the current folder (default: \document\MATLAB). That is the startup folder. You can change the startup folder through many ways. It is usually set as the folder where you want to start your work right away.

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

タグ

製品


リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by