loading a log file using importdata
Mostra commenti meno recenti
hi
i have a log file containing numbers as well as words.
i am using the command:
DTA = importdata('filename.log', ',');
but it is loaded as a cell array of strings instead of a struct with data and text seperated. in other log files that i have i did not have this problem
thanks
1 Commento
Risposte (1)
the cyclist
il 11 Ago 2013
0 voti
The exact output of importdata() is dependent on the format of the input file. This behavior is described in the "Output Arguments" section of the documentation: http://www.mathworks.com/help/matlab/ref/importdata.html. Expand the subsection "A -- Data from the file".
1 Commento
noa
il 11 Ago 2013
Categorie
Scopri di più su String Parsing in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!