App Designer button click again

1 visualización (últimos 30 días)
Lev Mihailov
Lev Mihailov el 12 de Mayo de 2020
Respondida: Cris LaPierre el 12 de Mayo de 2020
Hello! Do I need the first click of the button to delete the chart and all its contents, and the second click to return everything is possible?
function VisiblePlotButtonPushed(app, event)
app.plot.Visible = 'off';
end
Now I use this method, but it does not remove the contents of the chart

Respuestas (1)

Cris LaPierre
Cris LaPierre el 12 de Mayo de 2020
Try this instead
cla(app.UIAxes)

Categorías

Más información sobre Develop Apps Using App Designer en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by