필터 지우기
필터 지우기

Screenshot of MATLAB Web App

조회 수: 7 (최근 30일)
C. K.
C. K. 2023년 3월 21일
편집: Adrian 2023년 4월 17일
Hi,
do you know a way to take a screenshot of a MATLAB Web App
The functions exportapp, exportgraphics, ... aren't supported in Web Apps.
  댓글 수: 1
Adrian
Adrian 2023년 3월 22일
While I can't answer your question - I'm looking for an alternative to exportapp as well, exportgraphics is actually supported in Webapps. You need to do it like
exportgraphics(axes, filename);
web(filename)
and then filename is getting downloaded in your browsers standard download path.

댓글을 달려면 로그인하십시오.

답변 (1개)

Tushar
Tushar 2023년 4월 17일
Hi,
Starting in Matlab r2020b, you can take snapshots of an app / uifigure using the functions below.
Refer to the below article to get more info:
Hope it helps!!
  댓글 수: 1
Adrian
Adrian 2023년 4월 17일
편집: Adrian 2023년 4월 17일
exportapp is not supported in MATLAB Online™ or in Web Apps (MATLAB Compiler).
getframe does not support the following functionality in MATLAB Online™ or in Web Apps (MATLAB Compiler):
  • Capturing the contents of a figure created with the uifigure function or any axes in the figure.
  • Capturing the contents of an app created with App Designer or any axes in the app.
Exportapp is even mentioned in the question itself as not supported in Webapps.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by