built-in functions used in polyval

1 回表示 (過去 30 日間)
vrettok
vrettok 2015 年 10 月 22 日
回答済み: Walter Roberson 2015 年 10 月 23 日
How can I find out which built in functions does polyval uses? (or any other for that matter)

回答 (3 件)

John D'Errico
John D'Errico 2015 年 10 月 22 日
matlab.codetools.requiredFilesAndProducts('polyval')
ans =
{}
Or,
type polyval
which is safer than edit, since you cannot accidentally edit the code and create a bug.
  2 件のコメント
vrettok
vrettok 2015 年 10 月 23 日
編集済み: vrettok 2015 年 10 月 23 日
Thank you John but "type" isn't exactly what i'm looking for. I wasn't clear on my question. Is there a way to get a list of all these functions that are being used from an other function(like polyval)? I mean you can see them manually if you "type polyval", but is there a way to get a list of them?
Steven Lord
Steven Lord 2015 年 10 月 23 日
How would you use such a list once you've generated it?

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


TastyPastry
TastyPastry 2015 年 10 月 22 日
Command window -> edit polyval

Walter Roberson
Walter Roberson 2015 年 10 月 23 日
You can use the profiler when you run polyval.
However, profiler tends not to list MATLAB built-in functions. Remember that nearly all calculation on MATLAB involves calling functions: see http://uk.mathworks.com/matlabcentral/answers/38787-what-can-be-programmed-without-any-built-in-functions

カテゴリ

Help Center および File ExchangeTiming and presenting 2D and 3D stimuli についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by