figure versus uifigure the best way to manage complex gui
Mostrar comentarios más antiguos
I am currently writing complex gui for scientific computation app which must be compatible both with figure and uifigure. My experience is that using uifigue the gui is always very time consuming to build and drag and drop is not reactive. Moreovers save gui as a *.fig may take 15 ~ 20 mn and when openfig is executed to come back at the state where user exit the app, does not work except for basic interface tests.
Using figure all is right. My question is the following what is the goal of mathworks in the future. I use matlab since 1984 it was an extraordinary tool. Nice gui is today a necessary step when developping large engineering app. It is always a difficult task, java customization helps very much. Waterloo toolbox is a good exemple. Why to abandon this approach? The beautiful functions inluded within gui layout toolbox should be directly included within matlab. Web oriented figure is a specifig goal, if figure could support the new uifigure facilities it would be perfect!
Is there some subtilities to know to have better experience with uifigure.
Using matlab is very easy, learning java was not trivial and now with uifigure it would be necessary to learn javascript....?
Best regards
1 comentario
Bruno Luong
el 6 de Jul. de 2022
Let me guess : you would never get an answer from TMW folks on their roadmap.
To me the only reason I would use uifigure is if you are interested in embeded the components that are not supported in stadard figure. They look more modern. Personaly I use the uitable with great features.
Otherwise I would stick with figure.
Respuesta aceptada
Más respuestas (1)
Alain Barraud
el 6 de Jul. de 2022
0 votos
4 comentarios
Yair Altman
el 6 de Jul. de 2022
You can customize [Java-based] figure uitree extensively. In fact, I believe that Java-based uitrees are much more customizable than [web-based] uifigure trees. See here for example: https://undocumentedmatlab.com/articles/customizing-uitree-nodes
Alain Barraud
el 6 de Jul. de 2022
Yair Altman
el 6 de Jul. de 2022
I'm pretty certain that you can change the Java uitree's background color, separately from each node's color. Just update the Background property of the main tree control.
Alain Barraud
el 6 de Jul. de 2022
Categorías
Más información sobre Develop Apps Programmatically 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!