How can I create a LaTeX table from a MATLAB uitable

조회 수: 4 (최근 30일)
Del
Del 2013년 6월 14일
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