Convert Txt file to an array

fid = fopen('C:\Users\Acer\Desktop\project hydro\Offset.txt');
data=textscan(fid,'%s');
fclose(fid);

Réponses (1)

Walter Roberson
Walter Roberson le 27 Juin 2022

0 votes

data = readmatrix('C:\Users\Acer\Desktop\project hydro\Offset.txt');

Catégories

Produits

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by