about 'load' imperative sentence
Afficher commentaires plus anciens
hello!
my professor gives me homework.
but, i am wondering about homework.
professor wirte source code like this. " load twolink.dat"
is that right sentence?
i know 'load' imperative sentence is applied .mat flile or ascil file.
in advance, thank you about answering
1 commentaire
Stephen23
le 13 Nov 2020
"is that right sentence?"
Although for historical reasons load can import text files, I strongly recommend using a function that is specifically for reading text data, e.g. textscan or readtable or readmatrix or dlmread or similar.
I recommend avoiding the command syntax (except from the command line whilst experimenting with the data), instead use function syntax (and import the file data into a variable):
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Text Data Preparation 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!