how refresh chart in the function?
Mostra commenti meno recenti
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
Risposta accettata
Più risposte (1)
Sulaymon Eshkabilov
il 10 Set 2023
0 voti
4 Commenti
pipor
il 10 Set 2023
Sulaymon Eshkabilov
il 10 Set 2023
How to use refresh():
H=figure;
plot(t, y);
refresh(H)
pipor
il 10 Set 2023
Categorie
Scopri di più su Printing and Saving in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
