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::

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Language Support에 대해 자세히 알아보기

제품


릴리스

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by