Calling Tree

Function creates tree structure of funtion calls in m-file.

이 제출물을 팔로우합니다

This function will create a tree structure containing all function calls in the m-file given as input. The function will automatically also search the called m-files.
Function that call themselves will not create infinite loops.
You can set the 'search area', f.i. the function will only search through m-files in '.\work\'.

Call:
struct = calling_tree(filename, restriction)
where restriction can just be 'work', it does not have to be the entire path.
restriction = '' means: no restriction

Example:
struct = calling_tree('calling_tree', '')

A good way to view the structure is the recently updated display_structure function (also by me) which can be found on this site. It will expand all sub-structures automatically.

인용 양식

Mark Jobse (2026). Calling Tree (https://kr.mathworks.com/matlabcentral/fileexchange/2917-calling-tree), MATLAB Central File Exchange. 검색 날짜: .

카테고리

Help CenterMATLAB Answers에서 Files and Folders에 대해 자세히 알아보기

일반 정보

MATLAB 릴리스 호환 정보

  • 모든 릴리스와 호환

플랫폼 호환성

  • Windows
  • macOS
  • Linux
버전 퍼블리시됨 릴리스 정보 Action
1.0.0.0