No BSD License  

Highlights from
AssignVarargin

Be the first to rate this file! 1 Download (last 30 days) File Size: 1.08 KB File ID: #8116
image thumbnail

AssignVarargin

by Michael Robbins

 

27 Jul 2005 (Updated 27 Jul 2005)

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

| Watch this File

File Information
Description

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

MATLAB release MATLAB 7 (R14)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
structures Michael Robbins 22 Oct 2008 07:54:13
cell arrays Michael Robbins 22 Oct 2008 07:54:13
varargout Michael Robbins 22 Oct 2008 07:54:13
nargin Michael Robbins 22 Oct 2008 07:54:13
nargout Michael Robbins 22 Oct 2008 07:54:13
inputname Michael Robbins 22 Oct 2008 07:54:13
function Michael Robbins 22 Oct 2008 07:54:13
lists Michael Robbins 22 Oct 2008 07:54:13

Contact us at files@mathworks.com