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

eval (MathScript RT Module Function)

LabVIEW 2011 MathScript RT Module Help

Edition Date: June 2011

Part Number: 373123B-01

»View Product Info

Owning Class: basic

Requires: MathScript RT Module

Syntax

eval(a)

Description

Executes scripts in a string.

Examples

Inputs

Name Description
a Specifies the scripts you want LabVIEW to execute. a is a string.

Details

The following table lists the support characteristics of this function.

Causes reduced performance (warning glyph) Yes
Supported in the LabVIEW Run-Time Engine No
Supported on RT targets No

Examples

for n = 1:10
     str = ['A', int_to_str(n), '=n'];
     eval(str)
end

Related Topics

evalfn
evalscript
int_to_str
sprintf
sscanf


 

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