Unable to use curly braces to index into cell

조회 수: 8 (최근 30일)
ROBERT WALSH
ROBERT WALSH 2021년 3월 26일
댓글: ROBERT WALSH 2021년 3월 26일
Anybody know how to fix this?

답변 (1개)

Fangjun Jiang
Fangjun Jiang 2021년 3월 26일
Where is your variable "cell" defined? cell() is a function. Use some other name.
  댓글 수: 7
Fangjun Jiang
Fangjun Jiang 2021년 3월 26일
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 2021년 3월 26일
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?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 String에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by