Convert Txt file to an array

6 visualizaciones (últimos 30 días)
abdul azim
abdul azim el 27 de Jun. de 2022
Respondida: Walter Roberson el 27 de Jun. de 2022
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
data = readmatrix('C:\Users\Acer\Desktop\project hydro\Offset.txt');

Categorías

Más información sobre Data Type Conversion en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by