What is the Order of Function Precedence in MATLAB 2019b or 2020a?

19 ビュー (過去 30 日間)
Kareem Elgindy
Kareem Elgindy 2020 年 6 月 20 日
コメント済み: Kareem Elgindy 2020 年 6 月 20 日
If I put a .m file in the current directory or in MATLAB search path, and then call it from the MATLAB Command Window, would MATLAB look for certain file types (e.g. built-in functions) in certain directories first before it searches for the required file? For example, suppose I created a file and called it anything like u1 and then put u1 in the current directory or in MATLAB search path. Now, when I call u1 and say the built-in sine function sin from the Command Window, would MATLAB invoke sin faster than it would for u1?

採用された回答

Rik
Rik 2020 年 6 月 20 日
I don't know what you would mean by 'faster'.
  3 件のコメント
Kareem Elgindy
Kareem Elgindy 2020 年 6 月 20 日
This was very helpful. Thank you.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Find more on Search Path in Help Center and File Exchange

製品

Community Treasure Hunt

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

Start Hunting!

Translated by