Export already created table with headers to PowerPoint

Hello, I have an already created table in matlab that is a mix of numbers and strings that coints headers. I want to export it to a slide in PPT, I am trying to use right now this package import mlreportgen.ppt.*, however it gives me an error.
Part of the used code is bellow this message
import mlreportgen.ppt.*
ppt = Presentation('ppt.pptx');
slide_batch=add(ppt,'Title and Table');
replace(slide_batch,"Table",table)
I can use this code with the example of a radom table if I replace table with Table(magic(5)) for instance it works, but does not work with my actual table.
Thank you

 採用された回答

laurent jalabert
laurent jalabert 2022 年 1 月 5 日

1 投票

you can try this function (stefslon-exportToPPTX-b2a106d):
exportToPPTX

1 件のコメント

Rui Parente
Rui Parente 2022 年 1 月 5 日
Thank you, indeed it seem to work

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeMATLAB Report Generator についてさらに検索

製品

リリース

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by