How to fix this error?

Cell contents reference from a non-cell array object.
e = cell2mat(TI(q).Si);
TI is repmat
Si is element of TI class cell

댓글 수: 1

dpb
dpb 2019년 12월 6일
편집: dpb 2019년 12월 6일
"TI is repmat"
What on earth does that mean?
"How to fix?"
Don't use cell2mat on a non-cell object.
Whatever it is, which we have no way in the world of knowing, TI(q).Si is NOT a cell.
Show us what
whos TI
returns and mayhaps we can tell you something.
Syntax looks like it is a struct, maybe.

답변 (0개)

이 질문은 마감되었습니다.

질문:

2019년 12월 6일

마감:

2021년 8월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by