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!
