スライダーを動かして​、マウスを押したまま​の状態でグラフ位置を​調整するなどの処理を​入れることは可能でし​ょうか?

マウスを押したままスライダーを動かす場合に、グラフ位置を調整するなどの処理を入れることは可能であれば、教えてください。

 Akzeptierte Antwort

MathWorks Support Team
MathWorks Support Team am 25 Okt. 2013

0 Stimmen

スライダーを動かす際、マウスを押したままで位置の調整などの処理を入れることは可能です。上記の処理は WindowButtonMotionFcn 関数とスライドの範囲を取るコマンド get(handles.slider,'Position') を連携させれば実現可能です。サンプルプログラムを下記のリンクからダウンロードすることができます。

Weitere Antworten (0)

Kategorien

Mehr zu MATLAB finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2010b

Community Treasure Hunt

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

Start Hunting!