MATLAB function to get all dependent .m files to generate exe using MATLAB 2013b

2 ビュー (過去 30 日間)
jyothi mullapudi
jyothi mullapudi 2015 年 8 月 4 日
回答済み: Al Dente 2015 年 8 月 4 日
Hi , Could you please suggest me the function to read all dependent .m files of a .m file, to generate an executable from the exe. i have tried using depfun i got following error: Method 'writeFunctionCall' in class 'rtw.modelreference.MdlStartWriter'
  2 件のコメント
Walter Roberson
Walter Roberson 2015 年 8 月 4 日
That does not appear to be a complete error message?
Walter Roberson
Walter Roberson 2015 年 8 月 4 日
which -all depfun
You might be getting one from RTW instead of one from basic MATLAB.

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

回答 (1 件)

Al Dente
Al Dente 2015 年 8 月 4 日
This might help:
profile on -history;
% your code here
profile viewer;
p = profile('info');
It will give you all sorts of functions however -- built-in functions, s-functions, .. etc you get the point -- which might not be what you want, but give it a shot.

カテゴリ

Help Center および File ExchangeC Shared Library Integration についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by