03-21-2019 05:34 AM - edited 03-21-2019 05:38 AM
I want to write a 2D array row-by-row in "Level 5 MAT-File Format"
Example 2D array:
123
456
789
3 write operations, 123, append 456, append, 789.
So far, I've looked at Matio VIs in VIPM, the Matlab data plug-in and VIs posted by users in the forums. I want to know a route that works with minimal hassle. Can anyone confirm if row-by-row is possible? Would I be better to save as TDMS, then convert to .mat as a post processing step?
03-25-2019 05:26 AM
Hi Bmann,
I struggle a bit to understand what your precise question is:
1) Which programming language would you like to use? You posted in the Measurement Studio, but mention VIs which are LabVIEW code.
2) What would you like to achieve specifically? Your example 2D array looks to me like a 1D array and you append element-by-element and not row-by-row.
3) In terms of appending data: this is independent of the file format and it should be as easy in MAT as in TDMS. Thus row-by-row is easily possible in any format and I would recommend against TDMS and then converting.
Cheers,
03-25-2019 06:02 AM
now sure how I ended up on Measurement Studio board, apologies.
I've re-posted the query here: