How to add control to restore all default values in a live script?

14 views (last 30 days)
I am attempting to add a simple control button that will restore all other controls to their default values. The point of this live script is to allow the user to modify all ten variables at their will, but I would like an easier reset than right-clicking each control and selecting "Restore Default Value". How can I accomplish this?

Answers (1)

Nidhi Jain
Nidhi Jain on 12 Jul 2022
Hi Jacob,
Thank you for your interest in interactive controls. Currently, there is no way to reset all the interactive controls using a single option. But, this is something our development team is aware of and is considering. This feedback is useful, and we hope to address it in an upcoming release.


Find more on Live Scripts and Functions 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!