External Interfaces/API Reference | ![]() ![]() |
Remove a field from a structure array
C Syntax
#include "matrix.h" extern void mxRemoveField(mxArray array_ptr, int field_num);
Arguments
array_ptr
Pointer to a structure mxArray
.
field_num
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 | ![]() |