how to use listbox dialog box result in a switch statement?
조회 수: 3 (최근 30일)
이전 댓글 표시
I am unsure whether the result from the listbox has to go in the switch statement as just indx or [[indx,tf] although it seems it is working with just indx also ..as you can see
Please try the function attached with samlet_aktivitet=0.5 for instance and
temperature=30:
댓글 수: 0
답변 (1개)
Taylor
2023년 11월 2일
You are correct to use the indx value within the switch block. indx refers to the index of the value selected by the user from the list input to listdlg. tf is just the selection logical.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!