Convert Txt file to an array
Ältere Kommentare anzeigen
fid = fopen('C:\Users\Acer\Desktop\project hydro\Offset.txt');
data=textscan(fid,'%s');
fclose(fid);
Antworten (1)
Walter Roberson
am 27 Jun. 2022
data = readmatrix('C:\Users\Acer\Desktop\project hydro\Offset.txt');
Kategorien
Mehr zu Cell Arrays finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!