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

1 次查看(过去 30 天)
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.

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Data Types 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by