how can I enable chromium dev tools for an HTML ui component in my matlab app?

조회 수: 2 (최근 30일)
Omri Shavit
Omri Shavit 2023년 10월 13일
답변: Sreeram 2024년 9월 20일
I'm making an app with the matlab app designer. In it there's an html ui component with css and js. It seems devtools is disabled by default as ctrl+shift+i doesn't do anything and writing debugger; in the javascript code does nothing. How can I enable the chromium devtools? Thanks.

답변 (1개)

Sreeram
Sreeram 2024년 9월 20일
Hi Omri,
MATLAB App Designer does not support Chromium DevTools directly within the app. However, you can open the HTML file in your system's web browser and use its DevTools to set breakpoints and debug the code, as suggested in the documentation:
The documentation also provides the steps for sending data from MATLAB to JavaScript.
Also, you may refer to this MATLAB Answers thread:
I hope this helps.

카테고리

Help CenterFile Exchange에서 Environment and Settings에 대해 자세히 알아보기

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by