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!