some Matlab functions are not implemented in their m files

2 ビュー (過去 30 日間)
Italo
Italo 2012 年 10 月 5 日
Hello everyone, sometimes, in order to have a full grasp of what is happening, I just navigate through matlab functions and see their implementation. A few times I've ended in a function whose .m file is only comments and no implementation (e.g. matlab-path\toolbox\matlab\lang\feval.m) So I wonder, when I invoke that function, what happens?
Thanks

回答 (1 件)

Honglei Chen
Honglei Chen 2012 年 10 月 5 日
編集済み: Honglei Chen 2012 年 10 月 5 日
Those are built-in functions and the MATLAB file is only for the documentation purpose. When you call such functions, MATLAB knows what to launch.
  2 件のコメント
Daniel Shub
Daniel Shub 2012 年 10 月 5 日
Are they all builtins or can they be a mex also?
Honglei Chen
Honglei Chen 2012 年 10 月 5 日
編集済み: Honglei Chen 2012 年 10 月 5 日
I'm not hundred percent sure but I think most of them should be built-ins. In general I think if there is a mex, you will see a call to mex in the file. If the mex does not need to be invoked, I personally would call them built-ins :)

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

カテゴリ

Help Center および File ExchangeMatrix Indexing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by