Why do I receive "Cell contents reference from a non-cell array object." error?
1 view (last 30 days)
Show older comments
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
Accepted Answer
Jorrit
on 25 Jun 2011
Try round brackets instead handles.num(:). These ones {} are used for cells.
0 Comments
More Answers (0)
See Also
Categories
Find more on Data Types in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!