Filter löschen
Filter löschen

Create variable Edit Fields based on a calculated variable in App Designer

4 Ansichten (letzte 30 Tage)
Fazlollah
Fazlollah am 15 Feb. 2023
Kommentiert: Voss am 15 Feb. 2023
The app asks for the Number of Outlets . When the Number of Outlets is specified, for example let's say 256 outlets, the app calculates the number of Splits by using the following equation:
Split_Number=log2(Outlet_Number)
Now, the software asks for inputs from the user. The number of requested inputs is equal to the Split Number. For example, for 265 outlets, Split number will be 8. So, I want the app to show 8 Edit Field (numeric) boxes for entering 8 numeric inputs (D1...D8)..Or for example if I have 64 outlets, the app asks for 6 inputs (D1--D6).
I could not figure out how to do it in MATLAB App Designer. Could you please help me with this? I could generate an input dialog box with varaible number of boxes. However, I could not do it in the app designer to generate variable input boxes.

Antworten (0)

Kategorien

Mehr zu Develop Apps Using App Designer finden Sie in Help Center und File Exchange

Produkte


Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by