How to read cdf files in matlab6/24/2023 Reads only those variables specified in the 1-by-N or N-by-1 cell array of strings, varnames. The return value, data, is a cell array having length(recnums) number of rows and as many columns as there are variables. Reads only those records specified in the vector, recnums. The return value, data, is a cell array in which each row contains a record and each column represents a variable. Reads all of the variables from each record of the Common Data Format (CDF) file specified in the string, file. )ĭata = cdfread(file, 'slices', dimensionvalues. )ĭata = cdfread(file, 'variables', varnames. Cdfread (MATLAB Functions) MATLAB Function Referenceĭata = cdfread(file, 'records', recnums.
0 Comments
Leave a Reply. |