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 commentaires

Adam
Adam le 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
Pedro Guevara le 2 Sep 2019
How do I set the default values ​​for each object? Can you give me an example, please.
Thank you
Adam
Adam le 2 Sep 2019
set( handles.edit1, 'String', '' )
set( handles.slider1, 'Value', 0.5 )
etc or whatever your default values are.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Graphics Object Properties dans Centre d'aide et File Exchange

Produits

Version

R2017b

Tags

Commenté :

le 2 Sep 2019

Community Treasure Hunt

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

Start Hunting!

Translated by