Which MATLAB GUI framework to use?
Show older comments
I posted a “how should I go forward” question on the discussion tab for the GUI Layout Toolbox. It was suggested that I post the question here. I posted the question on the GUI Layout Toolbox page because I literally just discovered the toolbox. I came across it a couple weeks ago while researching issues for a new Matlab UI project that I am starting. I also learned that Matlab is moving its GUI framework from Java based to an HTML5-class-base framework. After playing around with some of the examples, I found that I like the GUI Layout Toolbox. The potential downside is that the GUI Layout Toolbox is based on the Java framework. It’s a downside if Matlab is moving away from the Java based framework and will no longer support it. The new UI project is one that should be around for quite a few years. I’d hate to start it with the current framework only to have to recast everything in a couple years. So my question boils down to would it be prudent to start this new project with the new GUI framework? I know this is one of those hard to answer, “it depends” questions. I’m just hoping for some guidance from folks who are more familiar with how Matlab is moving forward with this framework change.
Thanks times a gazillion,
Bill
Accepted Answer
More Answers (1)
Walter Roberson
on 25 Jul 2022
0 votes
Are you prepared to pay the Oracle per-desktop license fee to run your Java-based code? Because the only update that Java used by MATLAB is getting is the security updates to the last free version, which Oracle has not committed to keep creating security updates for.
5 Comments
Bruno Luong
on 25 Jul 2022
Edited: Bruno Luong
on 25 Jul 2022
What kind of security hole are we talking about?
I never get any alert of security issues from TMW about using GUI.
Afterall it's just a GUI framework that triggers mouse/keyboard user inputs. If there is any security issue that is likely on developer's side.
Walter Roberson
on 25 Jul 2022
https://www.oracle.com/security-alerts/cpujul2022.html
Java SE appears to be the relevant technology
Bruno Luong
on 25 Jul 2022
Sorry; but this advisor security is clear like mud for me. What does it implie concretly on a MATLAB GUI?
Otis
on 26 Jul 2022
Walter Roberson
on 26 Jul 2022
I believe they are trying to rewrite all of their GUIs to not use Java.
I haven't heard anything yet about how they might rewrite aspects such as gunzip or how they communicate with parallel processes.
My speculation is that Java will not be removed from MATLAB within the next 5 years, in the sense that it will likely still be possible to directly call java -- but within 5 years they might have finished removing any dependency on Java in their own code.
Categories
Find more on Call MATLAB from Java in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!