Why does the CAT function return error when attempting to concatenate a cell array with an empty vector in MATLAB 7.0 (R14)?
이전 댓글 표시
When, I try to concatenate a cell array with an empty array in MATLAB 7.0 (R14):
a = {'123', 'qwe', 'asd'};
x = [];
cat(1, a, x)
I receive the following error:
??? Error using ==> cat
The following error occurred converting from double to cell:
Error using ==> cell
Size vector must be a row vector with integer elements.
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!