Continous updating graph using App Designerr

11 ビュー (過去 30 日間)
Gavin Foy
Gavin Foy 2017 年 5 月 18 日
回答済み: ag 2025 年 2 月 6 日
I need to be able to automatically update a graph when values change in an App Designer Model. I have knobs, sliders etc and wrote code to do calculations. I need to be able to graph these calculations automatically as I change the knob/slider values. Does anyone have any examples of what I am trying to do or know how to help?
Thanks in advance

回答 (1 件)

ag
ag 2025 年 2 月 6 日
Hi Gavin,
To dynamically update a graph when values change in the App Designer, you can employ the "callback" function. A callback is a command that executes in response to a predefined user action, such as interacting with a graphical object or closing a figure window. In your scenario, you can assign a "callback" function to the "slider."
Hope this helps!

カテゴリ

Help Center および File ExchangeDevelop Apps Using App Designer についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by