MATLAB Function Reference
  Go to function:
    Search    Help Desk 
checkval     See Also

Check if some value meets requirements

Syntax

Description

s = checkval(v,type,prefix,dims,bounds,options) check if v is of type type, of dimension dims and meets the additional criterions specified inside options. Prefix is added in front of the error message. bounds is used to specify a limit for the elements of the matrix (if v is a cell array, bounds is used to check the type of the objects) t can be: dims is a cell array (one element for each dimension) whose the elements can be: options is a cell array (one element fo each dimension) whose the elements can be:

See Also

checkargs

[ Help Desk ]