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

3 visualizaciones (últimos 30 días)
tombola
tombola el 29 de Feb. de 2012
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.

Respuestas (0)

Categorías

Más información sobre Environment and Settings en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by