フィルターのクリア

Unable to update plot in app designer

1 回表示 (過去 30 日間)
Saurabh Chaudhary
Saurabh Chaudhary 2020 年 7 月 4 日
コメント済み: Saurabh Chaudhary 2020 年 7 月 6 日
I am trying to update a plot in app designer within a for loop. The plot is only ploting the last result of the loop after the loop is finished. I am using a push button to start the loop. I am using drawnow but it is not working. Here is my code. I am using R2019b. Please help in out from this. Thanks.
  3 件のコメント
Saurabh Chaudhary
Saurabh Chaudhary 2020 年 7 月 5 日
Getting error "invalid or deleted object". When I added "hold(app.UIAxes,'on')" after the "L1 = plot(app.UIAxes, nan,nan);", then the error is not coming but the problem is same the plot is not updating like previous. When I click push button it is showing only the last configuration.
Saurabh Chaudhary
Saurabh Chaudhary 2020 年 7 月 6 日
I do not know the problem, but I increased my system RAM then the old program is working fine. But thank you so much Walter Roberson for the reply. I have learned a new thing from your answer.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeGraphics Performance についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by