필터 지우기
필터 지우기

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

답변 (1개)

Walter Roberson
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
Ratnesh Khandelwal
Ratnesh Khandelwal 2023년 11월 10일
편집: Ratnesh Khandelwal 2023년 11월 11일
Thank you Walter for responding to my question here! Being a novice on appdesigner a month back, I had a realization that it's too complex to happen automatically and that's the reason approached this forum to start building up call back function around it. Thanks to your direction, google and open MATLAB forum, I was able to make it happen.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Interactive Control and Callbacks에 대해 자세히 알아보기

태그

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by