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)

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Logical에 대해 자세히 알아보기

질문:

2019년 8월 14일

댓글:

2019년 8월 14일

Community Treasure Hunt

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

Start Hunting!

Translated by