how refresh chart in the function?
Ältere Kommentare anzeigen
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
Akzeptierte Antwort
Weitere Antworten (1)
Sulaymon Eshkabilov
am 10 Sep. 2023
0 Stimmen
4 Kommentare
pipor
am 10 Sep. 2023
Sulaymon Eshkabilov
am 10 Sep. 2023
How to use refresh():
H=figure;
plot(t, y);
refresh(H)
pipor
am 10 Sep. 2023
Kategorien
Mehr zu Printing and Saving finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
