Generating PDF or DOC Report from MATLAB App's Textbox Data and Graph

16 次查看(过去 30 天)
Hello everyone,
I'm working on a MATLAB App that showcases several TextBox fields along with a graphical representation in the form of a plot. Within the menu bar, I've added a 'Generate Report' option. Upon clicking this button, I aim to create either a PDF or DOC report that compiles the information displayed in the TextBoxes and the graphical representation.
Could anyone guide me through the process of implementing this feature? Specifically, I'd appreciate insights into how to generate a well-structured report in a PDF or DOC format using MATLAB.
Best regards.

回答(1 个)

Taylor
Taylor 2024-1-10
This is a fairly straightforward app that could just be implemented as a Live Script instead. From there it's as simple as export. Otherwise you may want to look into the Report Generator.
  3 个评论
Taylor
Taylor 2024-1-10
exportapp is probably the closest you'll get. It saves the entire "face" of the app as a PDF. I still think a Live Script would be cleaner. I've attached a sample Live Script to show you some of the functionallity available in Live Scripts like text edit fields, the create plot live task, color pickers, and state buttons.
Shariful Islam
Shariful Islam 2024-1-10
Dear @Taylor,
Thanks for your file. And I appriziate your prompt response. Actually my project is much bigger, which I cannot attached here. And I have to use this as executable file from APP deisgn. That's why I am asking it.
Best regards.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Develop Apps Using App Designer 的更多信息

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by