app desinger drop down

1 回表示 (過去 30 日間)
Aaron Petersen
Aaron Petersen 2022 年 1 月 10 日
回答済み: Aaron Petersen 2022 年 1 月 11 日
hello guys,
im struggeling with the dropdownmenues in an app.
i have 2 drop down menus with:
18-30
31-45
46-60
61+
0-17
and:
Lila
magenta
Orange
Gruen
Enthaltung
on the push of abutton i want to check wether the option 0-17 is selected and if so output an error (msgbox).
need those options to be displayed to the user but when selected using an numeric number 1 - 5 to be used to use them kinda as coordinates to navigate a 4x5 matrix. i want to add 1 to the number in the coordinates of the matrix. (only 5x4 since if selected 0-17 nothing but the error is supposed to happen)
Cheers guys!
Edit:
How can i generate a random matrix (5x4) in which the sum of all elements equals a given number?

採用された回答

Aaron Petersen
Aaron Petersen 2022 年 1 月 11 日
found it already.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGet Started with MATLAB についてさらに検索

製品


リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by