How can I develop a graph through the use of a slider going through a for loop?

1 vue (au cours des 30 derniers jours)
Everytime the loop is executed in my code, it builds one part of a final graph. After one loop is executed it goes ahead and plots one part of the graph. I want to be able to control every step of the develop of the graph with a slider in GUIDE. I tried to use a toogle button(with a while statement), but it crashes everything. What are some advices?
I tried to use a slider but it gets very complicated. I can´t get the value of the slider in another function.

Réponses (0)

Catégories

En savoir plus sur Graphics Performance dans Help Center et File Exchange

Produits

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by