How can I reset a Guide?

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

Create a function that sets the defaults. Then you can run this both at the start and when you press your reset button.
How do I set the default values ​​for each object? Can you give me an example, please.
Thank you
set( handles.edit1, 'String', '' )
set( handles.slider1, 'Value', 0.5 )
etc or whatever your default values are.

Sign in to comment.

Answers (0)

Categories

Find more on Interactive Control and Callbacks in Help Center and File Exchange

Products

Release

R2017b

Tags

Asked:

on 2 Sep 2019

Commented:

on 2 Sep 2019

Community Treasure Hunt

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

Start Hunting!