パスの出現順とは

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

Accepted Answer

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

Sign in to comment.

More Answers (0)

Tags

Products


Release

R2019a

Community Treasure Hunt

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

Start Hunting!