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

 Risposta accettata

Walter Roberson
Walter Roberson il 2 Set 2017

0 voti

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.

Più risposte (1)

Sébastien KUBASIK
Sébastien KUBASIK il 3 Set 2017

0 voti

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

Categorie

Scopri di più su Creating, Deleting, and Querying Graphics Objects in Centro assistenza e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by