Add/Remove lists (select lists)
ADDREMOVELIST creates a GUI which contains two main listboxes, one on the left and one on the right. With the usage of two buttons (Add/Remove) the user can select items from the list on the left and transfer them to the list on the right and vice versa. Two checkboxes allow selecting multiple elements from each list and sorting the list contents respectively. Hitting the OK button returns ADDREMOVELIST outputs (depending on user selections) in MATLAB's workspace. Hitting the Cancel button returns default outputs.
The main output of the script is a cell array of strings containing the elements that were added from the list on the left (initial list, list to select from) to the list on the right (new list, selected elements). There exist other outputs (e.g. the remaining contents of the left list etc.) The user can find extensive help with many examples inside addremovelist.m (or by typing 'help addremovelist' in MATLAB's command window)
引用格式
Panagiotis Moulos (2024). Add/Remove lists (select lists) (https://www.mathworks.com/matlabcentral/fileexchange/15271-add-remove-lists-select-lists), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
平台兼容性
Windows macOS Linux类别
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!addremovelist/
版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 |