NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member
Klejur
Posts: 2
0 Kudos
Accepted Solution

Matrix from MathScript

Hi

I have simple question. See on jpg or vi file. The size(y) is m=1 and n=101 but "y" output is scalar (not matrix and not array). How to display "y" on graph outside of MathScript function and why "y" output is not a matrix ??

Best regards

Maciej

Knight of NI
altenbach
Posts: 22,798

Re: Matrix from MathScript

You need to configure the output tunnels for the desired type.

 

Right-click on the output tunnels and select either "choose datatype...matrix...real matrix" or "choose datatype.. 2D array...DBL 2D", as appropriate


LabVIEW Champion . Oh, by the way, I work for peanutsKudos .

Member
Klejur
Posts: 2
0 Kudos

Re: Matrix from MathScript

Great! Thank you very much!

Best regards

Maciej

By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page