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

 採用された回答

KSSV
KSSV 2019 年 8 月 14 日

1 投票

Check M1 might be a structure......try
size(M1.Mat1)

1 件のコメント

Romain Fournier
Romain Fournier 2019 年 8 月 14 日
It worked. Thanks a lot

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Community Treasure Hunt

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

Start Hunting!

Translated by