how can i read all the columns separately from the text file?
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
this is my code but i don't how can i get each column separately.
% Appendix D1
fid3 = fopen('executionTime.txt');
executionTime = textscan(fid3, '%f %d', 'headerlines', 1);
fclose(fid3);
% executionTime = {1,:};
executionTime{1}{1}
here is executionTime variable:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/171797/image.png)
Thank you
2 Commenti
Risposta accettata
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Code Execution Profiling in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!