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

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

b = evalscript(a)

Legacy Name: evalc

Description

Executes scripts in a string and returns the output from the Command Window in character array b.

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