replace one Listbox cell with another
1 view (last 30 days)
Show older comments
i would like to replace one line or cell with another.
eg I have 10 cells and I would like to replace cell #2 with cell #7 and vice versa
I tried everything and the only way i can move a selected cell is to the top on the listbox. Thank you
Andrei Bobrov on 18 Jun 2012
A - your cell array with size (10 x 1)
A([2,7]) = A([7,2]);
More Answers (0)
Find more on Migrate GUIDE Apps in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!