How can I create a LaTeX table from a MATLAB uitable

3 Ansichten (letzte 30 Tage)
Del
Del am 14 Jun. 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.

Antworten (0)

Kategorien

Mehr zu Environment and Settings finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by