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

2 Ansichten (letzte 30 Tage)
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.

Akzeptierte Antwort

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

Weitere Antworten (0)

Kategorien

Mehr zu Data Types finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by