Info

This question is closed. Reopen it to edit or answer.

How to fix this error?

1 view (last 30 days)
Mira le
Mira le on 6 Dec 2019
Closed: MATLAB Answer Bot on 20 Aug 2021
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 Comment
dpb
dpb on 6 Dec 2019
Edited: dpb on 6 Dec 2019
"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.

Answers (0)

Community Treasure Hunt

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

Start Hunting!