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

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.

Respuestas (1)

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!

Categorías

Más información sobre MATLAB Compiler en Centro de ayuda y File Exchange.

Productos

Versión

R2023a

Preguntada:

el 15 de Sept. de 2023

Respondida:

el 21 de Jul. de 2024

Community Treasure Hunt

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

Start Hunting!

Translated by