Check if New Desktop addon is used in current session

6 ビュー (過去 30 日間)
Marco Pasquali
Marco Pasquali 2024 年 5 月 24 日
コメント済み: sst 2024 年 12 月 10 日
Is there a way to check programmatically if in the New Desktop is active in the current session (I want to detect this info in a startup file)?
  7 件のコメント
sst
sst 2024 年 6 月 26 日
In my specific case, I would like to use unicode characters for the "listbox" uicontrol, which works only in the New Desktop mode, and not in the classic desktop mode. The classic desktop mode, on the other hand, allows the use of HTML content in the uicontrol, but not unicode characters. This is part of a much larger application.
Adam Danz
Adam Danz 2024 年 6 月 27 日
Thanks for this info @sst.

サインインしてコメントする。

採用された回答

Mann Baidi
Mann Baidi 2024 年 12 月 4 日
To confirm programmatically whether the new MATLAB desktop add-on is active in the current session, you can use the rendererinfo command. Specifically, check the GraphicsRenderer field by running the following command:
rendererinfo().GraphicsRenderer
If the output is 'WebGL', it indicates that the session is utilizing the new desktop add-on.
For more details about the rendererinfo command, you can refer to the MATLAB documentation::
  1 件のコメント
sst
sst 2024 年 12 月 10 日
Thanks, that looks like it's working.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLanguage Support についてさらに検索

製品


リリース

R2024a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by