Convert Txt file to an array

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

Respuestas (1)

Walter Roberson
Walter Roberson el 27 de Jun. de 2022

0 votos

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

Categorías

Productos

Etiquetas

Preguntada:

el 27 de Jun. de 2022

Respondida:

el 27 de Jun. de 2022

Community Treasure Hunt

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

Start Hunting!

Translated by