# of elements mismatch

3 次查看(过去 30 天)
Fan Yang
Fan Yang 2019-10-21
Hi you all,
I have a cell array named tlthat only has 96 elements in the fist column, and those are all the element in this array, but why does the Value shows a 97 by 1 cell in the workspace?
Best,
Fan

采纳的回答

James Tursa
James Tursa 2019-10-21
I'm guessing that the 97th element is empty. What does this show:
tl{97}

更多回答(2 个)

Mani Sharma
Mani Sharma 2019-10-21
编辑:Mani Sharma 2019-12-5
Thanks for this information. It is useful read about card generator from here.

Fan Yang
Fan Yang 2019-10-21
Thanks for your answer!
You are abslutely right. It is an 0 X 0 empty char array, but how did this empty cell sneak into this variable?

类别

Help CenterFile Exchange 中查找有关 Multidimensional Arrays 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by