Effacer les filtres
Effacer les filtres

.Fig to .m file

11 vues (au cours des 30 derniers jours)
Lina Carmen
Lina Carmen le 8 Fév 2011
Commenté : mark le 5 Déc 2016
I could managed to convert my .fig file to .m file,but the original .m file which was created by GUIDE cant be used without .fig file.How to teach it to use new generated .m file to create the graphical items?

Réponse acceptée

Walter Roberson
Walter Roberson le 8 Fév 2011
It should in theory now just be a matter of removing the call to load the figure, and instead calling the routine that recreates the items that were in the figure.
  1 commentaire
mark
mark le 5 Déc 2016
how do we remove the call to load the figure and replace it with a routine that recreates the items that were in the figure,

Connectez-vous pour commenter.

Plus de réponses (2)

Brett Shoelson
Brett Shoelson le 9 Fév 2011
Lina,
From your GUIDE-built GUI, pull down from the File menu to EXPORT. That should generate a MATLAB file that will recreate the GUI independent of the Fig file.
Cheers,
Brett
  1 commentaire
Lina Carmen
Lina Carmen le 12 Fév 2011
I also accept this answer :)
Thanks Brett

Connectez-vous pour commenter.


Carlos Caicedo
Carlos Caicedo le 3 Juin 2016

Catégories

En savoir plus sur Interactive Control and Callbacks dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by