いつもありがとうございます.同じような質問が見つけられなかったので質問させていただきます.
パス設定に同一名称の関数が複数あったときにこちらのドキュメント(https://jp.mathworks.com/help/matlab/matlab_prog/function-precedence-order.html)で
11.パス上の他の部分にある関数 (出現順)とありますが,出現順とはどういうことなのでしょうか.
pathdef.mに記載されている出現順でしょうか.それともカレントディレクトリから見て,近い順とかそういう意味なのでしょうか?
基本的な質問となってしまいすみません

 Akzeptierte Antwort

Akiko
Akiko am 11 Feb. 2021

0 Stimmen

この場合の出現順は、「pathdef.m に記載されている順番」です。
もしくは、MATLAB デスクトップの [パスの設定] を選択して表示される 「"MATLAB 検索パス" での記載順」です。
上の方に記載されているほど、優先順位が高くなります。

1 Kommentar

poni_poni
poni_poni am 12 Feb. 2021
ありがとうございます。

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Produkte

Version

R2019a

Tags

Gefragt:

am 10 Feb. 2021

Kommentiert:

am 12 Feb. 2021

Community Treasure Hunt

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

Start Hunting!