creating a word doc from Matlab - very slow when using large tables!
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (0)
Voir également
Catégories
En savoir plus sur Environment and Settings dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!