How can I identify the dependencies of a MATLAB program?

77 views (last 30 days)
How can I determine what other functions and scripts my MATLAB program is dependent upon?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 9 Jan 2023 at 5:00
Edited: MathWorks Support Team on 5 Jan 2023 at 13:44
Refer to the documentation in the following link for methods to identify program dependencies:

More Answers (1)

Daniel Frisch
Daniel Frisch on 13 Nov 2020
This function finds all dependencies and directly copies them to a folder:
>> copy_dependencies( 'matlabScript.m' )


Find more on Startup and Shutdown 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!