uifigure vs figure - advice please
55 次查看(过去 30 天)
显示 更早的评论
We have a set of Matlab-based tools that all use a common set of GUI superclasses to provide a consistent look and feel plus certain common functionality. They pre-date uifigure so use figure to create the GUIs. There are some features that are only available in GUIs created using uifigure, e.g. scrollable panels, plus the compatibility with the App Designer.
As a test I changed our superclass to use uifigure and encountered a pile of warnings and errors when testing with one of our tools. Obviously I can work through those but expect I will find the same in our other tools using the same GUI superclasses.
So, my questions are:
1) Is there a guide specifically for converting figure-based GUIs to uifigure-based? A checklist of what properties/methods are different even. I couldn't find anything.
2) Any experience/comments on how much pain is involved? If it was just one tool I'd go for it but it's a suite of tools in our case.
11 个评论
dpb
2025-7-18
编辑:dpb
2025-7-18
I've built no Windows apps from code other than Fortran console computational code so I don't know anything about normal app startup without the console, but commercial applications don't have such a delay before their splash screen appears as do the MATLAB compiled apps so I infer there must be some manner to make that occur while the code is doing whatever else it needs to do before rendering the user interface. The ladies have finally (sorta') gotten adjusted to the idea they just have to wait, but it is still disconcerting because one cannot tell if the application has actually been started or not for several seconds (that seem like forever) so the inclination is to try again and again and again...and, sometimes, the double-click didn't actually happen, either, so have sat around waiting until do finally decide that is what happened. It's just not a user-friendly experience to use these apps with this behavior.
采纳的回答
Jasmine Poppick
2025-7-10
There's also more information on each step. For example, this page talks about replacing uicontrol with the newer UI component functions: Update UIControl Objects and Callbacks.
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Creating, Deleting, and Querying Graphics Objects 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!