How i add the button for the Time axis to user can change time in the given MATLAB App designer

1 回表示 (過去 30 日間)
Ehtisham
Ehtisham 2024 年 1 月 19 日
コメント済み: Taylor 2024 年 1 月 24 日
How i add the button for the Time axis to user can change time in the given MATLAB App designer

回答 (1 件)

Taylor
Taylor 2024 年 1 月 23 日
The property you want to change is app.UIAxes.XLim. You could implement this with a ButtonPressedFcn callback (like you have done with your "Go!" button, or you could use the ValueChangedFcn callback for a Numeric Edit Field to update the axis as the user inputs new values.
  1 件のコメント
Taylor
Taylor 2024 年 1 月 24 日
Yes, that is what I'm describing with the second option. I've attached a modified version of your app that shows how this is implemented. Is this what you're looking for?

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

カテゴリ

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

タグ

製品


リリース

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by