creating a word doc from Matlab - very slow when using large tables!

1 次查看(过去 30 天)
Hi, I'm creating and populating a word document in the manner described here:
The document isn't the most complicated ever, but has a huge number of tables and pictures within the text.
Everything works well - the document is created perfectly - but when I have large tables the document takes a very long time to create. Even when word is invisible.
My table writing code is horribly iterative - looping through the rows and columns of an array and writing the values using
MATLAB code
set(selection, 'Text', char(valueText));
selection.MoveRight(12, 1);
Is there any faster way to do this please? Not only do I need to set the table text but also each cell's text and background colors depending on their value.
Thanks for any help,
Tom.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Environment and Settings 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by