How do I import a matrix with (.matrix) extension into my MATLAB script code?
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
How do I import a matrix with (.matrix) extension into my MATLAB script code?
0 comentarios
Respuestas (1)
Image Analyst
el 21 de Nov. de 2021
Unfortunately you forgot to attach the file so we really don't know and will have to start guessing. For a start try this
m = readmatrix('your file.matrix');
If that doesn't work try importdata(), readcell(), or worst case open with fopen() and read out line-by-line with fgetl() and parse each line to get the things you need from the line.
0 comentarios
Ver también
Categorías
Más información sobre Text Files en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!