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

1 visualizzazione (ultimi 30 giorni)
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.

Risposta accettata

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

Più risposte (0)

Categorie

Scopri di più su Data Types in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by