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

1 view (last 30 days)
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.

Answers (0)

Categories

Find more on Graphics Performance in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!