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

evalscript (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

b = evalscript(a)

Legacy Name: evalc

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.

Outputs

Name Description
b Returns a character array that contains the output from the Command Window.

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

b = evalscript('sin(1:10)')

Related Topics

eval
sin


 

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