App Designer Plot having error
10 ビュー (過去 30 日間)
古いコメントを表示
I tring to plot image to UIAxes
Error is 'reference to a cleared variable app.
Error in app1 (line 271)
runStartupFcn(app, @startupFcn)'
0 件のコメント
採用された回答
Mario Malic
2020 年 9 月 26 日
It stated an error "Error is 'reference to a cleared variable app."
Don't use clear all, neither clc in this and most of the cases.
if you call a function with input arguments, and within that function you execute clear all command, you are not able to use anything you sent, maybe even what's declared prior to entering the function.
2 件のコメント
Mario Malic
2020 年 9 月 26 日
For the future questions, if you mind sharing the code for the rest of the users, make a short demonstration/example of your code does, rather than deleting what was posted.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Develop Apps Using App Designer についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!