Hello every one. I built a GUI with an update of several axes in due of a slider action. The sketch is really long and some actions are repetitive... So, I would like to build a function (in the GUI code) which could be call in a first time a the initialization and next on the slider' actions just to draw several curves within an axes.
I'm not really used with GUI's rules and I don't know how proceed.
Best regards

 Accepted Answer

Walter Roberson
Walter Roberson on 2 Sep 2017
If you used GUIDE to create your GUI then you would have created a .fig and a .m file. You can edit the .m file and add any functions you need.

More Answers (1)

Sébastien KUBASIK
Sébastien KUBASIK on 3 Sep 2017
Thanks Walter,
It was... so simple. It's running, wonderfull.

Categories

Find more on Printing and Saving in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!