how refresh chart in the function?
이전 댓글 표시
hi, i use function to draw in app designer
app (paramter of bubu function) is a reference's graph
i use in the function "close all" and "refres variable" but if i call bubu function for second time i see the old line plotted
function bubu(app)
close all;
clearvars -except app
for i:1:1000
plot(app...,)
end
end
채택된 답변
추가 답변 (1개)
Sulaymon Eshkabilov
2023년 9월 10일
0 개 추천
댓글 수: 4
pipor
2023년 9월 10일
Sulaymon Eshkabilov
2023년 9월 10일
How to use refresh():
H=figure;
plot(t, y);
refresh(H)
pipor
2023년 9월 10일
카테고리
도움말 센터 및 File Exchange에서 Printing and Saving에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
