External Interfaces/API Reference    
mxSetName

Set the name of an mxArray

Fortran Syntax

Arguments
pm
   Pointer to an mxArray.

name
   The name you are assigning to the mxArray. The specified name can be up to 31 characters. If you specify a name longer than 31 characters, mxSetName assigns only the first 31 characters to the name.

Description

Call mxSetName to establish a name for an mxArray or to change an existing name.

mxSetName assigns the characters in name to a fixed-width section of memory. Do not deallocate this memory.

See Also

mxGetName


 mxSetN mxSetNzmax