Changing enable field in GUI property inspector

1 ビュー (過去 30 日間)
Andy
Andy 2012 年 3 月 26 日
How to i change the enable field in the property ispector?
I have a radio button that when pressed, i want it to disable a text box.
this is what i have
set(handles.ions_dir, 'Enable', false)
where ions_dir is the text box i am trying to disable
but it doesnt seem to work. anyone know whats the correct command? thanks

採用された回答

Oleg Komarov
Oleg Komarov 2012 年 3 月 26 日
set(handles.ions_dir, 'Enable', 'off')
  8 件のコメント
Andy
Andy 2012 年 3 月 26 日
i got it working, i changed the call back part in the property inspector, thanks!

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

その他の回答 (0 件)

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by