Unable to use curly braces to index into cell
8 views (last 30 days)
Show older comments
Anybody know how to fix this?
0 Comments
Answers (1)
Fangjun Jiang
on 26 Mar 2021
Where is your variable "cell" defined? cell() is a function. Use some other name.
7 Comments
Fangjun Jiang
on 26 Mar 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.
See Also
Categories
Find more on String in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!