From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Re: Import and export data arrays from labview to matlab

like suppose I have a very small examples of adding two variables, Take a=1, b=3 then c=a+b. How will I import this result on Labview.

0 Kudos
Message 1 of 10
(2,346 Views)

Hi nitish,

 

are you still talking about Matlab?

Can you provide an example VI?

Are you using the Matlab script node?

 

(As your question now is completely different to that old thread you hijacked I moved it into its own thread.)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 10
(2,341 Views)

Yes I want to have real time communication of Matlab and LabView.

Like for example- I write a small program to draw a circle on Matlab and want to copy export only the figure on LabView

0 Kudos
Message 3 of 10
(2,312 Views)

Hi nitish,

 

use network communication (like TCP or UDP based) to setup a data transfer between your Matlab tool and your LabVIEW VI…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 10
(2,310 Views)

Like I want to import this circle into Labview

0 Kudos
Message 5 of 10
(2,308 Views)

And moreover how to use this network channels, as I am a new t this field I need help

0 Kudos
Message 6 of 10
(2,304 Views)

Hi nitish,

 

how to use this network channels, as I am a new t this field I need help

LabVIEW comes with a huge example library. See the example finder to find example VIs on "network channels"…

 

I want to import this circle into Labview

Then send 3 values from Matlab to LabVIEW: "X center", "Y center", "radius"…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 7 of 10
(2,289 Views)

How do i send these values

 

0 Kudos
Message 8 of 10
(2,286 Views)

Hi nitish,

 

that is a MATLAB question, and you should ask in a MATLAB forum...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 9 of 10
(2,277 Views)

Yes I but my question was that how do I send the three values as 'X center', 'Y center' , 'Radius' to LabView. could you please explain me about in a detailed way such that I can implement it.

0 Kudos
Message 10 of 10
(2,274 Views)