이 제출물을 팔로우합니다
- 팔로우하는 게시물 피드에서 업데이트를 확인할 수 있습니다
- 정보 수신 기본 설정에 따라 이메일을 받을 수 있습니다
%% FUNCTION ORPHAN_LIBS describes .m file linkage between directories.
%
% Operation: looks at every .m file in every directory in 'test', and
% checks whether it is cited anywhere in the directory 'trgt'. By which
% means we can check all directories if they are referenced or 'orphaned'
%
%
% SYNTAX
% [libgraf, lib_orf] = orphan_libs(test, trgt)
%
% INPUT
% test - (string) path to the directory to test
% trgt - (string) path to the directory to find references
%
% OUTPUT
% libgraf - (struct array) each element refers to a directory with 4 fields:
% - 'path' (string) is the directory path
% - 'mnum' (integer) number of .m files found in 'path'
% - 'refs' (cell array) holds 'mnum' struct arrays.
% The ith struct array element holds the .m filename and lines
% of code referring to the ith .m file found under 'path'
% - 'name' (cell array) holds 'mnum' strings. The ith string is
% the name of the ith .m file found under 'path'
인용 양식
Ben (2026). orphan_libs(test, trgt) (https://kr.mathworks.com/matlabcentral/fileexchange/52379-orphan_libs-test-trgt), MATLAB Central File Exchange. 검색 날짜: .
| 버전 | 퍼블리시됨 | 릴리스 정보 | Action |
|---|---|---|---|
| 1.3.0.0 | New description
|
||
| 1.2.0.0 | Update returns struct with matched referee files and code lines. May be buggy |
||
| 1.1.0.0 | Reports more details: lines where function name appears are also returned. |
||
| 1.0.0.0 |
