LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I output/save data file from matlab in Labview?

Dear,

 

  How can I output/save data file from the results of matlab in Labview?

It does not work even though I use the save, csvwrite, xlswrite, etc.

 

Best regards

 

sschang

0 Kudos
Message 1 of 4
(1,423 Views)

We cannot debug truncated pictures of code, but your "s" output is a single scalar. Where in the code is the "file" input used?

 

0 Kudos
Message 2 of 4
(1,412 Views)

Hi,

 

   Thanks for your response.

 

My VI program is as attached file. I can not use the instructions of matlab as "save", "csvwrite", xlswrite" to save the output files of "s" and "D1_out", and also can not use matlab output to save them.

 

   Can you help me?

 

sschang

 

   

Download All
0 Kudos
Message 3 of 4
(1,369 Views)

Hi sschang,

 


@sschang wrote:

and also can not use matlab output to save them.


What's so hard to save two values to a file?

Best regards,
GerdW


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