How do I resolve 'Conversion to cell from double is not possible'?
이전 댓글 표시
I have this code creating a 1x3 cell array of 4x16 matrices. Then If a check box is ticked, the corresponding 4x16 zeros matrices are replaced with 4x16 matrices called from excel.
for num=1:3
rates{num} = zeros(4,16);
end
if app.Type1_Select.Value == 1
rates(1,1) = xlsread('Rates.xlsx','C3:R6');
end
When I run this code an error comes up saying 'Conversion to cell from double is not possible.' for line 5.
How can I resolve this?
Thank you
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Logical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!