필터 지우기
필터 지우기

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

조회 수: 4 (최근 30일)
tombola
tombola 2012년 2월 29일
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에서 Logical에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by