フィルターのクリア

How to use the drop down value in if clause ?

2 ビュー (過去 30 日間)
farzad
farzad 2020 年 3 月 21 日
コメント済み: farzad 2020 年 3 月 22 日
Hi All
I have a drop down component in my app using app designer, which their values are numbers like 1 , 2 ,3,4
then I need to use this vlaue in the push Button code.
So I wrote in the dropdown section :
dtype = app.Drtype.Value;
and I made this value public property but I don't know what I should assign for its default value
and in the pushbutton code :
if app.dtype== 1
But doing so , nothing happens, I also tried '1' and str(1) , but seems not to be working
  1 件のコメント
farzad
farzad 2020 年 3 月 22 日
I am not sure if I am missing a correct naming or it's a missing parameter

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

回答 (0 件)

カテゴリ

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