Matlab App Designer tab activation and EditField selection

4 次查看(过去 30 天)
Hi,
I would like to do something like:
app.mytab.activate
when clicking on a button but I can't find the right keyword (I've tried .open, .show etc.)
Second thing, I have an Edit Field (text) containing some text from origin and I would like it to disappear when the user clicks on the field to edit it (so that he doesn't have to remove it manually). Basically something like:
if app.EditField.Select
app.EditField.Value='';
end
Otherwise, I have to say I find it really hard to understand how the code works under Matlab App Designer. There seems to be no library with the different actions possible when handling an object. Is there an available guide somewhere?
Thanks for your help.

回答(1 个)

Etienne Vaccaro-Grange
For the selection of the tab, I found the answer here.
For the documentation, I found one here.
However I did not find any answer to the EditField question. Suggestions are welcome!

类别

Help CenterFile Exchange 中查找有关 Variables 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by