AssignVarargin

버전 1.0.0.0 (616 Bytes) 작성자: Michael Robbins
it parses a parameter list. Given a set of variable names, it assigns the appropriate values to var
다운로드 수: 1.8K
업데이트 날짜: 2005/7/27

라이선스 없음

ASSIGNVARARGIN parses a parameter list. Given a set of variable names,
ASSIGNVARARGIN assigns the appropriate values to variables.

foo('green',5);

and in foo, you call ASSIGNVARARGIN:

AssignVarargin({'Color','Charm','Strangeness'});

ASSIGNVARARGIN will create a variable Color, with the value 'green', a
variable Charm, with the value 5, and a variable Strangness, with the
value NaN.

See also varargout nargin nargout inputname function lists paren
CatOrSplitFiles CheckerboardPlot varargin nargin
assignin evalin


Key words varargout nargin nargout inputname function lists paren
CatOrSplitFiles CheckerboardPlot parameter workspace
assign input output arguments

인용 양식

Michael Robbins (2024). AssignVarargin (https://www.mathworks.com/matlabcentral/fileexchange/8116-assignvarargin), MATLAB Central File Exchange. 검색됨 .

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

Community Treasure Hunt

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

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