Slider Controls X axis on Graph

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 日

0 投票

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.

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

カテゴリ

ヘルプ センター および File ExchangeDevelop Apps Using App Designer についてさらに検索

質問済み:

2018 年 6 月 18 日

コメント済み:

2018 年 6 月 19 日

Community Treasure Hunt

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

Start Hunting!

Translated by