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

2 views (last 30 days)
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'

Answers (1)

Al Dente
Al Dente on 4 Aug 2015
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.

Categories

Find more on C Shared Library Integration 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!