MATLAB Answers

Using App Design how do I copy a group of objects including the underlying callback code?

13 views (last 30 days)
Richard
Richard on 18 Jul 2021
Edited: Sivani Pentapati on 5 Oct 2021 at 8:13
I'm developing a GUI with a large number of sliders that have been enhanced with some additional data fields pictured below.
The small fields allow the user to change slider limits. The slider value is displayed in the large numeric field and using this same field for data entry will automatically expand the slider limits if necessary. It would save some manual labor if copying the objects also copied the small amount of callback code in the several objects. Granted, I would still have to edit, but the process would still be faster and less error prone. This is obviously one of the trades between App Designer and direct GUI code, but for those new to GUI creation App Designer appears to be the way to go.

Answers (1)

Sivani Pentapati
Sivani Pentapati on 4 Oct 2021 at 13:29
Edited: Sivani Pentapati on 5 Oct 2021 at 8:13
Hi Richard,
Currently we are not supporting the feature to copy group of objects including the underlying callback code. I have brought this issue to the notice of the concerned people and it might be considered for a future release. However, you can create custom components and can also configure them for using in App Designer

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!