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

조회 수: 2 (최근 30일)
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 CenterFile Exchange에서 Schedule Model Components에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by