MATLAB Application Program Interface Reference Help Desk

mxSetName

Purpose

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 32 characters. If you specify a name longer than 32 characters, mxSetName assigns only the first 32 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



[ Previous | Help Desk | Next ]