App Designer button click again

조회 수: 2 (최근 30일)
Lev Mihailov
Lev Mihailov 2020년 5월 12일
답변: Cris LaPierre 2020년 5월 12일
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

답변 (1개)

Cris LaPierre
Cris LaPierre 2020년 5월 12일
Try this instead
cla(app.UIAxes)

카테고리

Help CenterFile Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by