設定されたパスが保存されないのはなぜですか?

19 visualizaciones (últimos 30 días)
MathWorks Support Team
MathWorks Support Team el 5 de En. de 2011
パス設定のGUIから[フォルダを追加]ボタンおよび[保存]ボタンを使ってパスを追加しましたが、MATLABを再起動すると、追加したパスが消えてしまいます。

Respuesta aceptada

MathWorks Support Team
MathWorks Support Team el 5 de En. de 2011
設定されたMATLABのパス情報は"pathdef.m"というMATLABプログラムに保存されるため、パス上に複数の"pathdef.m"がある場合、設定されたパスがうまく参照されないことがあります。
下記のコマンドで複数の"pathdef.m"がMATLABのパス上に存在するかどうかを確認できます。
which pathdef -all
通常は
$MATLABROOT\toolbox\local\pathdef.m
しかありませんが、もしその他の"pathdef.m"が存在する場合、削除することもしくはファイル名を変更することによって問題を解決できます。

Más respuestas (0)

Categorías

Más información sobre 検索パス 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!