Is it possible to save uifigure with a uitable when deployed as a standalone application?

4 次查看(过去 30 天)
I have a script that I compile as a standalone application. This compiled standalone application is run on a crontab. The script produces many files inlcuding text files and mulitple figures. One of the figures is is a uifigure with a uitable. I cannot figure out a way to save that uifigure when the application is deployed and run on the crontab. Is it possible to create and save uifigures/uitables when the standalone application is executed on a crontab? I have tried commands suchs as exportapp, screenshot/imwrite, etc. I am also not receiving any errors. All of the output files and figures are created and saved except the one uifigure. Any help is appreciated.

回答(1 个)

Amith
Amith 2024-7-21,17:07
Hi Josh,
In R2020a and later releases you can export and copy uifigure and UI axes directly by using exportgraphics:
For more information on other methods you can refer to this MATLAB Answer:
Hope this helps!

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

产品


版本

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by