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

eval (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: basic

Requires: MathScript RT Module

Syntax

eval(a)

Description

Executes a script, in the form of a string, at run time. This function allows you to specify a script to execute dynamically at run time; however, this function causes reduced performance and is not supported on RT targets.

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