MATLAB Answers

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

2 views (last 30 days)
Alfonso Rodriguez
Alfonso Rodriguez on 11 May 2016
Edited: Alfonso Rodriguez on 11 May 2016
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)

Community Treasure Hunt

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

Start Hunting!

Translated by