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

조회 수: 9 (최근 30일)
Shariful Islam
Shariful Islam 2023년 12월 12일
댓글: Shariful Islam 2024년 1월 10일
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