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 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)

This question is closed.

Asked:

on 6 Dec 2019

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!