how refresh chart in the function?
Afficher commentaires plus anciens
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
Réponse acceptée
Plus de réponses (1)
Sulaymon Eshkabilov
le 10 Sep 2023
0 votes
4 commentaires
pipor
le 10 Sep 2023
Sulaymon Eshkabilov
le 10 Sep 2023
How to use refresh():
H=figure;
plot(t, y);
refresh(H)
pipor
le 10 Sep 2023
Catégories
En savoir plus sur Printing and Saving dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
