How can I create a LaTeX table from a MATLAB uitable

4 次查看(过去 30 天)
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.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Environment and Settings 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by