Convert Txt file to an array

6 Ansichten (letzte 30 Tage)
abdul azim
abdul azim am 27 Jun. 2022
Beantwortet: Walter Roberson am 27 Jun. 2022
fid = fopen('C:\Users\Acer\Desktop\project hydro\Offset.txt');
data=textscan(fid,'%s');
fclose(fid);

Antworten (1)

Walter Roberson
Walter Roberson am 27 Jun. 2022
data = readmatrix('C:\Users\Acer\Desktop\project hydro\Offset.txt');

Kategorien

Mehr zu Data Type Conversion finden Sie in Help Center und File Exchange

Tags

Produkte

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by