MATLAB Answers

Why do I receive "Cell contents reference from a non-cell array object." error?

3 views (last 30 days)
sadel
sadel on 25 Jun 2011
Why do I receive "Cell contents reference from a non-cell array object." error when I execute this code?
handles.num=1;
handles.den=2;
handles.num{:}
Cell contents reference from a non-cell array object.

  0 Comments

Sign in to comment.

Accepted Answer

Jorrit
Jorrit on 25 Jun 2011
Try round brackets instead handles.num(:). These ones {} are used for cells.

  0 Comments

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by