MATLAB Answers

0

How can I reset a Guide?

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

Sign in to comment.

Tags

Products


Release

R2017b

0 Answers