LabVIEW MathScript RT Module

cancel
Showing results for 
Search instead for 
Did you mean: 

Very urgent

Hi iam R.Prem kumar . I have done wavelet signal and image compression in matlab 7.0.1. I tried to run that code in in labview using math script node . It is not working . please help me . its very urgent. i have only Labview 7.1 and advanced signal processing tool kit 7.0.1
 
R.Prem kumar
+919940446193
0 Kudos
Message 1 of 7
(8,384 Views)
Hello,

You state you have LabVIEW 7.1.  The LabVIEW MathScript node was not available until LabVIEW 8.0.  Perhaps you are using the MATLAB® script node?  Can you describe exactly what is not working?  What error messages are you seeing?  Are you running the VI on the same machine as you have The MathWorks, Inc. MATLAB software installed?

MATLAB® is a registered trademark of The MathWorks, Inc.

Grant M.
Staff Software Engineer | LabVIEW Math & Signal Processing | National Instruments
Message 2 of 7
(8,384 Views)
Hi you are correct. I have rectified the problem.
Thank you
Prem
0 Kudos
Message 3 of 7
(8,369 Views)
Hi i have developed a code in matlab for image compression . I am running it in Labview 7.1 in Matlab script. The output graph is displayed in matlab but not in labview. Please help.
 
Prem
0 Kudos
Message 4 of 7
(8,353 Views)
Hello,

Can you provide some more detail about the script you are running?  I am currently not aware of any commands that fail to produce a plot in the MATLAB® script node.  What specific graph command are you trying to use?  Does it also fail if you simply try to display some random data using that graph command?  Can you post a portion of code that illustrates the problem?

MATLAB® is a registered trademark of The MathWorks, Inc.

Grant M.
Staff Software Engineer | LabVIEW Math & Signal Processing | National Instruments
0 Kudos
Message 5 of 7
(8,348 Views)
I just want to plot the simplest graph that itself is not working. What is the data type i should use. I used 2d array. I tried using the simple plotting program in matlab i am getting the output in matlab window when i run it in labview but the graph is not displyed in labview.
0 Kudos
Message 6 of 7
(8,332 Views)
Hello,

I can try to provide some general suggestions, but if you could post the code you have in the MATLAB® script node, I can provide more specific guidance.  By "simplest graph," do you mean something like plot(x)?  It sounds like you are wiring an input to the node that you wish to plot.  In that case, the input should be a 1D array.  Really, though, the input to the MATLAB script node should be the same type as your data.  Then choose the plot command accordingly.  For 1D data, use plot.  For 2D data, use plot3, surf, or mesh.

What do you mean by "simple plotting program"?  Can you try the simple commands below and see if a plot window appears when executing them from a MATLAB script node?
x = linspace(0,2*pi);
y = sin(x);
plot(x,y)



MATLAB® is a registered trademark of The MathWorks, Inc.

Grant M.
Staff Software Engineer | LabVIEW Math & Signal Processing | National Instruments
0 Kudos
Message 7 of 7
(8,315 Views)