Error reading size of cell array

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.

 Respuesta aceptada

Star Strider
Star Strider el 15 de Nov. de 2017

0 votos

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.

Más respuestas (0)

Categorías

Productos

Etiquetas

Preguntada:

el 15 de Nov. de 2017

Respondida:

el 15 de Nov. de 2017

Community Treasure Hunt

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

Start Hunting!

Translated by