Hi, I am facing an issue on getting the size of a cell array using the standard command.
Can anyone help me with what is going wrong here.
Thanks.

 採用された回答

Star Strider
Star Strider 2017 年 11 月 15 日

0 投票

The command works for me without error, giving the expected result of 3 2.
You have a variable in your workspace called ‘size’. This is known a ‘overshadowing’ a function and always causes problems.
The solution is to go through your code, find the variable assignment, and rename it.

その他の回答 (0 件)

カテゴリ

製品

質問済み:

2017 年 11 月 15 日

回答済み:

2017 年 11 月 15 日

Community Treasure Hunt

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

Start Hunting!

Translated by