Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

MATLAB Software, Xmath Software, and LabVIEW MathScript Data Types in LabVIEW

LabVIEW 8.2 Help
August 2006

NI Part Number:
371361B-01

»View Product Info

The following table shows LabVIEW data types and the corresponding data types in the MATLAB® software, Xmath software, and LabVIEW MathScript. You can change the data type of an input or output terminal on a script node.

LabVIEW Data Type MATLAB Language Syntax Xmath Syntax MathScript Syntax

Double-precision, floating-point numeric
Real Real Scalar Scalar»DBL

Complex double-precision, floating-point numeric
Complex Complex Scalar Scalar»CDB

1D array of double-precision, floating-point numeric
1-D Array of Real Real Vector 1D-Array»DBL 1D

1D array of complex double-precision, floating-point numeric
1-D Array of Complex Complex Vector 1D-Array»CDB 1D

Multidimensional array of double-precision, floating-point numeric
2-D Array of Real 2-D Array of Real Matrix»Real Matrix (2D only)

Multidimensional array of complex double-precision, floating-point numeric
2-D Array of Complex 2-D Array of Complex Matrix»Complex Matrix (2D only)

String
String String Scalar»String

Path
Path N/A N/A

1D array of string
N/A String Array 1D-Array»String 1D


Note  You also can use the state-space, transfer function, and zero-pole-gain models of the LabVIEW Control Design Toolkit with the MathScript Node and the Xmath Script Node. The Xmath software supports only the SISO versions of the transfer function model and the zero-pole-gain model, but LabVIEW MathScript supports all versions of the models. You must have the LabVIEW Control Design Toolkit installed to use these models. Refer to the LabVIEW Control Design Toolkit documentation for more information about these models.

Use the Conversion functions or the String/Array/Path Conversion functions to convert a LabVIEW data type to a data type that MathScript, the MATLAB software, or the Xmath software supports.


Resources


 

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