How to import data into an array from a .txt file
Afficher commentaires plus anciens
I have a fairly large file in .txt and im simply trying to import it into my code as an array i tried the import data but it would only give me a blank array with NaN in the cells, the array I am trying to import is structured like so,
12 0.0589 14.122 13.2 0.7954 0.004
Réponses (1)
madhan ravi
le 21 Déc 2018
0 votes
Use readtable() to read the file
Catégories
En savoir plus sur Workspace Variables and MAT 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!