For 'readtable' func parameter 'Format' is not recognized although importing from a text
Afficher commentaires plus anciens
filename = fullfile('C:','Beacon_Data','FL-SB1_SensorTest_Data[1].txt');
opts = detectImportOptions(filename);
formatSpec = '%s%{dd-MM-yyyy HH:mm:ss}D%s%s%s%s%s%s%s%s';
T = readtable(filename, opts, 'ReadVariableNames', false, 'Format', formatSpec);
Note that this is just the related segment of the code!
One row of the specified text file is as stated:
ID: FL-SB1-05; 05-07-2018 14:18:56; BatteryVol: 4117; T: 2909; Acc: -3949, 395, 759; Gyro: -149, 148, -136;
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Text Files dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!