depfun2

버전 1.0.0.0 (2.05 KB) 작성자: Daniel Ennis
This function allows one to reduce to results of DEFUN through the use of a keyword.
다운로드 수: 1.6K
업데이트 날짜: 2016/3/31

라이선스 보기

% DEPFUN2 finds the M-file dependencies of an m-file whos
% path also contains a KEYWORD. It relies upon the use of the
% DEPFUN function. DEPFUN2 accepts a keyword to 'grep' for allowing
% the return of m-files that are only found on a specific path (a users
% path for example). The keyword (or part of a word) is used to find
% matches in the full pathname of all files that the m-file depends upon.
%
% SYNTAX: G=depfun2(fname);
% G=depfun2(fname,[]);
% G=depfun2(fname,keyword);
% G=depfun2(fname,keyword,varargin);
%
% fname - The name of the m-file for which to determine dependencies
% keyword - The keyword used to retain m-files whose pathname contains 'keyword'
% DEFAULT keyword is unix('whoami') on UNIX platforms.
% varargin - Any of the various arguments that DEPFUN usually accepts.
%
% Example: G=depfun2('bench','graphics','-quiet','-toponly'); % Returns FEWER results than...
% G=depfun2('bench','graphics','-quiet'); % Because this includes indirectly called m-files
%
%
% On Unix Platforms the DEFAULT of:
% G=depfun2('test');
% Is equivalent to:
% [STATUS,USERNAME]=unix('whoami');
% G=depfun2('test',deblank(USERNAME),'-quiet');

인용 양식

Daniel Ennis (2024). depfun2 (https://www.mathworks.com/matlabcentral/fileexchange/6147-depfun2), MATLAB Central File Exchange. 검색됨 .

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

Community Treasure Hunt

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

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

Update BSD License.
Bug fix. Feature addition.