Borrar filtros
Borrar filtros

report generator Tableau comment mettre un texte sur 2 cellule voisine d'une ligne

3 visualizaciones (últimos 30 días)
bonjour
j'utilise report generator pour exporter des données matlab vers un tableau d'un document word
dans une ligne de titre, je voudrai mettre un texte sur 2 cellules (dans word fusionner 2 cellules)
je ne sais pas faire cela par programmation à partir de matlab

Respuesta aceptada

Kausthub
Kausthub el 28 de Ag. de 2023
Hi Daniel Monterrain
I understand that you would like to merge 2 cells when you are exporting MATLAB data to a table in a Word document using the MATLAB Report Generator Tool.
Here is an article which provides a detailed solution and examples for you to merge cells of a table while using Report Generator Tool:
Summarizing the article, you can merge two columns using the ColSpan property of TableEntry class:
r = TableRow;
p = Paragraph('Name');
te = TableEntry(p);
te.ColSpan = 2;
append(r, te);
Similarly, you can use the RowSpan property to merge two rows.
Few helpful references for creating tables using MATLAB Report Generator:
All above-mentioned references also have well written examples for you to follow.
Hope this helps!

Más respuestas (1)

Daniel MONTERRAIN
Daniel MONTERRAIN el 5 de Sept. de 2023
Merci
thanks
this way is good and solve my problem, even if it is not simple.
thanks

Productos


Versión

R2016b

Community Treasure Hunt

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

Start Hunting!