Convert Txt file to an array
Afficher commentaires plus anciens
fid = fopen('C:\Users\Acer\Desktop\project hydro\Offset.txt');
data=textscan(fid,'%s');
fclose(fid);
Réponses (1)
Walter Roberson
le 27 Juin 2022
data = readmatrix('C:\Users\Acer\Desktop\project hydro\Offset.txt');
Catégories
En savoir plus sur Cell Arrays dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!