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 件のコメント

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

サインインしてコメントする。

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeGraphics Object Properties についてさらに検索

製品

リリース

R2017b

タグ

質問済み:

2019 年 9 月 2 日

コメント済み:

2019 年 9 月 2 日

Community Treasure Hunt

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

Start Hunting!

Translated by