How can I reset a Guide?
Show older comments
Good day. I request your help again with a small problem. I have a guide to which data is entered through many means (tables, editable text, .etc). I want a button through which my Guide and the objects contained in it remain by default according to my original guide (When it is run the first time). Is there any way to get this?
Tag button: Reiniciar_call
Tag Guide: form1
thank you
3 Comments
Adam
on 2 Sep 2019
Create a function that sets the defaults. Then you can run this both at the start and when you press your reset button.
Pedro Guevara
on 2 Sep 2019
Adam
on 2 Sep 2019
set( handles.edit1, 'String', '' )
set( handles.slider1, 'Value', 0.5 )
etc or whatever your default values are.
Answers (0)
Categories
Find more on Interactive Control and Callbacks 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!