External Interfaces/API Reference    
mxRemoveField

Remove a field from a structure array

C Syntax

Arguments
array_ptr
   Pointer to a structure mxArray.

field_num
   The number of the field you want to remove.

Description

Call mxRemoveField to remove a field from a structure array. If the field does not exist, nothing happens. This function does not destroy the field values. Use mxDestroyArray to destroy the actual field values.

See Also

mxAddField, mxDestroyArray, mxGetFieldByNumber


 mxRealloc mxSetAllocFcns