Language Reference

NAME Function

lists the names of arguments

NAME( arguments);

where arguments are the names of existing matrices.

The NAME function returns the names of the arguments in a column vector. In the following example, n is a 3 x 1 character matrix of element size 8 containing the character values A, B, and C:

  
    n=name(a,b,c);
 
The main use of the NAME function is with macros when you want to use an argument for both its name and its value.

Previous Page | Next Page | Top of Page