Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

TDMS file opener with matlab

Hi,

 

I'm trying to open the TDMS file with the source code from TDMS Reader - File Exchange - MATLAB Central (mathworks.com).

 

I was able to open some files but weren't able to open files saved using DAQmx assist block. 

 

The error I'm getting is as in the picture below.

kapitan2269_0-1643216273321.png

 

The code I use is 

 

routeV = 'I:\Temp';

A = 1; 
B = 4; 

for a = 1:A
[P,~] = TDMS_readTDMSFile([routeV,'_',num2str(a.','%04d'),'.tdms']);
% for b = 1:B
% DB(:,a,b) = P.data{1,b+2}';
% end
end

 

and the files I'm trying to open are in the attached file. 

 

Thank you in advance.

0 Kudos
Message 1 of 1
(1,356 Views)