Save a table or cell as jpg

58 views (last 30 days)
Luke Megonigal
Luke Megonigal on 3 Nov 2020
Commented: Image Analyst on 4 Nov 2020
I want to export a table or cell as a jpg file.
I know a table can be exported as an excel file or a txt file. However, I would like to place this table next to a plot in a powerpoint, and I would prefer not to have to use excel or a txt file as a middle man.
I have this data stored as a cell. I can make the cell into a table. Can either be printed and exported as a jpg?
  2 Comments
Luke Megonigal
Luke Megonigal on 4 Nov 2020
I tried using uitable to create the figure. Would I be able to save those?
Also, at the top of my code i close all, but the uitable figures stay open. Anyone know how to close those?

Sign in to comment.

Answers (2)

Ameer Hamza
Ameer Hamza on 3 Nov 2020
If you have the MATLAB report generator, then you can directly export the table from MATLAB to power-point: https://www.mathworks.com/help/rptgen/ug/mlreportgen.ppt.table-class.html

Image Analyst
Image Analyst on 3 Nov 2020
Try exportgraphics().

Categories

Find more on MATLAB Report Generator 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!