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

 Akzeptierte Antwort

Walter Roberson
Walter Roberson am 2 Sep. 2017

0 Stimmen

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.

Weitere Antworten (1)

Sébastien KUBASIK
Sébastien KUBASIK am 3 Sep. 2017

0 Stimmen

Thanks Walter,
It was... so simple. It's running, wonderfull.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by