Navigation

Operators and Keywords

Function List:

C++ API

validatestring.m File Reference


Functions

 if (!isempty(varargin)) if(isnumeric(varargin
 varargin (end)
 elseif (funcnameset) varname

Variables

function str
endif funcname = ""
 varname = ""
 position = 0
endif endif funcnameset = false
 varnameset = false
for i

Function Documentation

elseif ( funcnameset   ) 

if ( isemptyvarargin  ) 

varargin ( end   ) 


Variable Documentation

else funcname = ""

funcnameset = false

for i

Initial value:

 1:numel (varargin)
    if (ischar (varargin{i}))
      if (varnameset)
        error ("validatestring: invalid number of character inputs: %d",
               numel (varargin))

position = 0

function str

Initial value:

 validatestring (str, strarray, varargin)

  if (nargin < 2 || nargin > 5)
    print_usage ()

varname = ""

varnameset = false