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: 

export traces to Matlab files

I am currently using the "Write Traces To Spreadsheet File.vi" routine to export data from my database to a form I can use in other applications (i.e. MatLab). However, this file then requires additional processing before I can use it in MatLab, as some variables are numbers and some are strings, and MatLab can only (as fasr as I know) import a file where every value is of the same datatype.

Is there a simple way to export my data as a MatLab .m datafile from LabVIEW such that MatLac can then directly open it?
0 Kudos
Message 1 of 2
(2,116 Views)
Hello stephen s,

perhaps this will help you.
There are examples attached which could be the solution you're looking for.

Greets
Message 2 of 2
(2,109 Views)