Save uitable in Pdf

조회 수: 39 (최근 30일)
Lukas Schmid
Lukas Schmid 2022년 10월 10일
댓글: Lukas Schmid 2022년 10월 12일
Hello all,
since I would like to create a table, to illustrate data in Matlab, I used uitable.
Unfortunately I can't find a solution to save this table in a PDF.
Can someone help me? Also does not necessarily have to be created with uitable , should there be other possibilities?
Thats the code:
fig6 = uifigure;
uit = uitable(fig6,'Data',table_T,'Position',[20 80 500 160.5]);

채택된 답변

Adam Danz
Adam Danz 2022년 10월 10일
편집: Adam Danz 2022년 10월 11일
To save an image of the uitable to a pdf file, use exportgraphics. The second argument, filename, will be a path to your pdf document with the .pdf file extension. If you want to add it to an existing pdf file, see the append option.
  댓글 수: 5
Adam Danz
Adam Danz 2022년 10월 11일
That doesn't sound good. Could you attach the fig file?
What does this return?
info = rendererinfo
Also see
Lukas Schmid
Lukas Schmid 2022년 10월 12일
I dont know why but today it worked!!
Thank you Adam!!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by