How can I create a LaTeX table from a MATLAB uitable

4 visualizaciones (últimos 30 días)
Del
Del el 14 de Jun. de 2013
I have a uitable, and I want to use it in latex. When I use it as a .fig figure, or .eps figure, the image is not very clear on a pdf document.
I am wondering if there is a way to create a latex table straight from a uitable like the following:
t = uitable('Parent',f,'Data',dat,'ColumnName',cnames,...
'RowName',[],'Position',[50 50 622 385],'ColumnWidth',{50,100,100,50,80,80,80,80});
I know that when you have a matlab ARRAY, the code you can use to convert it to a latex table is
A = [1 2 3; 4 5 6; 7 8 9];
latex_table = latex(sym(A))
however, I am not sure what to use when it is a Matlab uitable. Any suggestion is very appreciated.

Respuestas (0)

Categorías

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

Community Treasure Hunt

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

Start Hunting!

Translated by