Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

remove_field (MathScript RT Module Function)

LabVIEW 2012 MathScript RT Module Help

Edition Date: June 2012

Part Number: 373123C-01

»View Product Info
Download Help (Windows Only)

Owning Class: struct

Requires: MathScript RT Module

Syntax

s2 = remove_field(s, 'fieldname')

Legacy Name: rmfield

Description

Removes a field from a structure.

Examples

Inputs

Name Description
s Specifies the structure.
fieldname Specifies the name of the field you want to remove from the structure. fieldname is a string.

Outputs

Name Description
s2 Removes the field fieldname from the structure.

Details

The following table lists the support characteristics of this function.

Supported in the LabVIEW Run-Time Engine Yes
Supported on RT targets Yes
Suitable for bounded execution times on RT Not characterized

Examples

point.x = 3.0;
point.y = 4.0;
point.color = 'blue';

S2 = remove_field(point, 'color')


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit