In an existing dropdown ('A', 'B', 'C'..) in GUI, how can I add popup for certain selection to decide it's property by assigning say 35% of A+65% of E
1 回表示 (過去 30 日間)
古いコメントを表示
In an existing dropdown('A', 'B', 'C', 'D', 'E', 'F','G','H') in GUI, in case user select last option 'H' then it should automatically open a new window for user to provide 1st element and it's %X and 2nd element and it's %Y (=100-%X) to design it's property. Here, H constitue of two of the dropdown selections, say 35% of B+65% of E
0 件のコメント
回答 (1 件)
Walter Roberson
2023 年 10 月 24 日
That is not going to happen automatically -- what you are asking for is too complex to be a built-in activity.
You will need to code the callback function for the dropbox to detect that option H has been chosen, and activate the appropriate logic. This will be according to your code rather than "automatically".
1 件のコメント
参考
カテゴリ
Help Center および File Exchange で Interactive Control and Callbacks についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!