GUIDE, help to get around GUI inconsistencies
Mostrar comentarios más antiguos
Hi,
I have some problems with a GUI application that I've developed in GUIDE. Whenever I open it on a new Matlab version or on a different platform it looks like crap. Sometimes the controls have moved so far I cannot reach them in the GUIDE editor. I've realized and also read here that GUIDE is a terrible poorly functional mess. But it would be nice to know if anyone knows a solution to the problem other than rewriting my code and never use GUIDE again.
I've tried to copy all positions and units from a functioning version and loading that but without success. I use Matlab 2010 and 2012 on windows and linux.
Best, Anders
Respuestas (2)
Azzi Abdelmalek
el 10 de Feb. de 2013
0 votos
If your code is not big. rename your m-file, then create a new m-file with your fig-file. Then copy the content of your functions and test them one by one.
1 comentario
Azzi Abdelmalek
el 10 de Feb. de 2013
Editada: Azzi Abdelmalek
el 10 de Feb. de 2013
- rename your first file file1.m to file2.m,
- then delete file1.m, or move it to another folder.
- run you gui file1.fig. Matlab will generate a new m-file file1.m
- try to copy from the old file (file2.m) the code you've added to each button or object, one by one, until the gui works fine
Image Analyst
el 10 de Feb. de 2013
0 votos
Your app will look different on different computers due to differences in video adapters and their settings. It may help if you set the "units" property of all your controls to 'normalized.'
It's well known that GUIDE is primitive, especially by today's standards. They are working on an upgrade to it (and have been for many years). I hope to see it soon but they aren't giving an ETA on that.
Categorías
Más información sobre MATLAB Report Generator en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!