Clear Filters
Clear Filters

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

16 views (last 30 days)
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.

Answers (1)

Taylor
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
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.
Shariful Islam
Shariful Islam on 10 Jan 2024
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.

Sign in to comment.

Categories

Find more on Develop Apps Using App Designer in Help Center and File Exchange

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!