Creating document with graphs plotted on app
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hello,
Im building an app that does some data analysis from a database. The app plots several graphs,
all of them are presented using subplots inside different panels, after the user clicks a button.
I want the user to be able to click a button that will create a word document showing those graphs,
but im having trouble implementing that.
What i tried to do so far is save the graphs as images to the current folder using frame2im(getframe(gcf)),
using the images to write the document, and then deleting the images within the code.
implementing this makes the app run slower, and also making the graphs "flicker" ones when being saved as an image.
Is there any smarter way to do this? been struggling for quite long.
1 comentario
NIVEDITA MAJEE
el 29 de Jun. de 2022
Hi Haran,
You can have a look at this MATLAB answer:
Hope this helps!
Respuestas (1)
Anjaneyulu Bairi
el 6 de Sept. de 2023
I Understand that you are trying to insert images, generated from your app into a word document. Follow the below documentation link that provides an illustration to achieve this. Note that execution of the steps provided in the documentation requires MATLAB report generator..
To open the example, execute the below command in MATLAB command window.
>> openExample('rptgen/CreateAReportWithLandscapePagesExample')
Hope the provided information helps in resolving your query.
0 comentarios
Ver también
Categorías
Más información sobre Function Creation en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!