How can I get values of selected item in drop down list .

조회 수: 5 (최근 30일)
Hikmet Osman
Hikmet Osman 2021년 1월 24일
댓글: Image Analyst 2023년 4월 16일
like the following :
dropdown1=app.dropdownList.Value;
switch dropdown1
case 1
value1 value2 value3
case 2
vakue1 value2 value3
case 3
value1 value2 value3
.
.
.
end
how can i get these values according to selected item and use it in another button(pushButton)
  댓글 수: 2
Image Analyst
Image Analyst 2023년 4월 16일
@Steve Lawrence start your own question and attach your .mlapp file. This question was basically unanswerable because the stuff inside the case statements didn't make any sense.
If you have any more questions, then attach your data and code to read it in with the paperclip icon after you read this:

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Logical에 대해 자세히 알아보기

제품


릴리스

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by