Using the listdlg function
显示 更早的评论
I am using the listdlg function and using 'Multiple' so the user can select mulitple items. When using the 'if,elseif' or the 'case' statements, they wont work when selecting mutiple items. They will work however if i only select one item from the list. The case statement spits out the code 'SWITCH expression must be a scalar or a character vector' and the 'if' statement spits a vector when i am trying to plot multiple bar graphs.
Any help would be great thanks.

2 个评论
Luca
2022-12-3
Same problem for me, the output is a vector but I dont know what to do with it. (Im still a newbie)
Walter Roberson
2022-12-3
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 App Building 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!