Save and load matrix. Size problem

1 visualización (últimos 30 días)
Romain Fournier
Romain Fournier el 14 de Ag. de 2019
Comentada: Romain Fournier el 14 de Ag. de 2019
Hi.
I want to save a matrix to use it later but when I load it, it has the size (1 , 1)
I want to save my matrix called Mat1.
I used save('C:\User\Desktop\Matrix1' , 'Mat1') and M1=load('C:\User\Desktop\Matrix1') but i get to size(M1)=(1,1) instead of the actual size of my matrix and i can't work with it.
What should I do?
Thanks in advance

Respuesta aceptada

KSSV
KSSV el 14 de Ag. de 2019
Check M1 might be a structure......try
size(M1.Mat1)

Más respuestas (0)

Categorías

Más información sobre Loops and Conditional Statements en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by