Which MATLAB GUI framework to use?
古いコメントを表示
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
採用された回答
その他の回答 (1 件)
Walter Roberson
2022 年 7 月 25 日
0 投票
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 件のコメント
Bruno Luong
2022 年 7 月 25 日
編集済み: Bruno Luong
2022 年 7 月 25 日
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
2022 年 7 月 25 日
https://www.oracle.com/security-alerts/cpujul2022.html
Java SE appears to be the relevant technology
Bruno Luong
2022 年 7 月 25 日
Sorry; but this advisor security is clear like mud for me. What does it implie concretly on a MATLAB GUI?
Otis
2022 年 7 月 26 日
Walter Roberson
2022 年 7 月 26 日
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.
カテゴリ
ヘルプ センター および File Exchange で Call MATLAB from Java についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!