error with using the variable
이전 댓글 표시

댓글 수: 1
답변 (1개)
Walter Roberson
2022년 12월 17일
편집: Walter Roberson
2022년 12월 17일
1 개 추천
agray has been created as a local variable in the function ImportImageButtonPushed. It is destroyed as soon as the function returns.
Perhaps you want to create an agray property app.agray and assign to it and refer to it.
You should probably be making your a into a property instead of a global.
카테고리
도움말 센터 및 File Exchange에서 Programming에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!