save / print figure using appdesigner

조회 수: 3 (최근 30일)
scott nolan
scott nolan 2019년 2월 3일
답변: prabhat kumar sharma 2025년 1월 31일
why does figure print not work in appdesigner

답변 (1개)

prabhat kumar sharma
prabhat kumar sharma 2025년 1월 31일
Hello Scott,
I understand that you're experiencing issues with the `print` function when trying to save a figure. As an alternative, you can use `exportgraphics`.
  • Use the exportgraphics function, which is designed to work with uifigures and offers more flexibility and better compatibility for exporting graphics.
exportgraphics(app.UIAxes, 'filename.png');
I hope it helps!

카테고리

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

제품

Community Treasure Hunt

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

Start Hunting!

Translated by