Generating PDF or DOC Report from MATLAB App's Textbox Data and Graph
10 views (last 30 days)
Show older comments
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.
0 Comments
Answers (1)
Taylor
on 10 Jan 2024
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 Comments
Taylor
on 10 Jan 2024
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.
See Also
Categories
Find more on Develop Apps Using App Designer in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!