Slider Controls X axis on Graph

2 ビュー (過去 30 日間)
T.A.S.
T.A.S. 2018 年 6 月 18 日
コメント済み: T.A.S. 2018 年 6 月 19 日
I am trying to get the slider in app designer to control the x axis of the graph but I don't understand how to write the code for the call back.

回答 (1 件)

Ameer Hamza
Ameer Hamza 2018 年 6 月 18 日
You need to add valueChaningFcn callback. See the attached sample to see how to use the slider to control axes in App designer.
  1 件のコメント
T.A.S.
T.A.S. 2018 年 6 月 19 日
This is what I'm trying to do but this just gives me the UI Figure and I need the file to be able to see the code view.

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

カテゴリ

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