copy the item in drop-down list of app designer
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hi:
is there any way to copy the item in drop-down list of app designer?
Thanks!
Yu
2 comentarios
Alok Nimrani
el 2 de En. de 2019
Hi Yu,
Is it that you want to make a duplicate item by copying an existing one from the drop-down list? If not, could you please elaborate on your use-case and also the end goal that you are trying to achieve?
Thanks,
Alok
Respuestas (1)
Alok Nimrani
el 4 de En. de 2019
Hi Yu,
In order to get the folder names displayed in the drop down list, you can create a cell array containing these items as follows:
>> nameList = app.DropDown.Items;
where 'DropDown' is the name of the drop down object that you want to use.
In addition, you can get only the current selected value as follows:
>> currentValue = app.DropDown.Value;
Hope this helps.
Regards,
Alok
1 comentario
Ver también
Categorías
Más información sobre Develop Apps Using App Designer en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!