get_function_depend​ents

버전 1.0.0.0 (2.27 KB) 작성자: Robert M. Flight
Creates a directory with all sub functions called by higher function.
다운로드 수: 1.8K
업데이트 날짜: 2008/6/16

라이선스 보기

get_function_dependents(funct_nam,options)

What this function is set up for is when you have written a big function, that depends on a bunch of smaller functions, that you have also written. Someone wants to borrow the function, but you don't know all the sub functions required to run it. If you run this, it will create a sub directory in the current directory with the name 'funct_nam_dir', and copy the main function, and all the user written sub functions into the directory. You can then create a zip file or just copy the directory and give to the person the complete directory, and they should be able to run the function without any problems.

You must specify any toolbox names you want included (if any), and the main MATLAB install directory, (edit these within the file) as we don't want to include files included in the main MATLAB distribution. This function also assumes that the user created functions are not in the MATLAB install directory.

인용 양식

Robert M. Flight (2024). get_function_dependents (https://www.mathworks.com/matlabcentral/fileexchange/8287-get_function_dependents), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R14SP2
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 File Operations에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0

Added functionality of copying .fig files associated with the .m files of GUI applications, and gets matlab root directory automatically.