답변 (1개)

Star Strider
Star Strider 2022년 7월 13일

0 개 추천

The error shown, that the string is interpreted as an index leads me to believe that you have a variable named ‘ylabel’ and MATLAB is attempting to index into it.
The solution is to re-name the variable to something similar that makes sense in the context of the code and does not overshadow any MATLAB function names.

카테고리

도움말 센터 및 File Exchange에서 Matrix Indexing에 대해 자세히 알아보기

태그

질문:

2022년 7월 13일

답변:

2022년 7월 13일

Community Treasure Hunt

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

Start Hunting!

Translated by