Add/Remove lists (select lists)

Add and remove elements from one list to another. Multiple add/remove possible.
1.4K 次下载
更新时间 2007/6/12

查看许可证

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 版本兼容性
创建方式 R14SP3
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Migrate GUIDE Apps 的更多信息

Community Treasure Hunt

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

Start Hunting!

addremovelist/

版本 已发布 发行说明
1.0.0.0