Unable to use curly braces to index into cell

8 visualizaciones (últimos 30 días)
ROBERT WALSH
ROBERT WALSH el 26 de Mzo. de 2021
Comentada: ROBERT WALSH el 26 de Mzo. de 2021
Anybody know how to fix this?

Respuestas (1)

Fangjun Jiang
Fangjun Jiang el 26 de Mzo. de 2021
Where is your variable "cell" defined? cell() is a function. Use some other name.
  7 comentarios
Fangjun Jiang
Fangjun Jiang el 26 de Mzo. de 2021
The problem is that in the first for-loop, the "if" condition was never met so variable "Group1" was never created.
For problem like this, puase the code before the line where the error occured and debug.
ROBERT WALSH
ROBERT WALSH el 26 de Mzo. de 2021
Sorry, I've been given this code for an assignment (I have little knowledge with MATLAB), could anybody get this to run and show the graph below given the following files?

Iniciar sesión para comentar.

Community Treasure Hunt

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

Start Hunting!

Translated by