How to create a table on matlab to export into Powerpoint
3 次查看(过去 30 天)
显示 更早的评论
Hi,
I have all my data stored in handles but i want to create a table which would come onto my powerpoint, as the number of data points changes is there a way to loop it?
helpTableCell = cell(2,3);
helpTableCell{1,1} = '<s bg:red; color:white><i>handles.HolNum<\i><\s>';
helpTableCell{1,2} = 'Me is second';
helpTableCell{1,3} = ['<b><s color:orange>','Me is formula: ',texlabel('H(x)*psi(x)=E*psi(x)'),'<\s><\b>'];
helpTableCell{2,1} = '<s color:#5F9EA0; font-size:22; font-family:Aharoni>Me is fourth</s>';
helpTableCell{2,2} = 'Me is fifth';
helpTableCell{2,3} = 'Me is sixth';
% Second slide - auto rotate will be used
toPPT('setTable',{{'<b>Hole No.<\b>','<b>x [mm]<\b>','<b>y [mm]<\b>'},{helpTableCell}},'SlideNumber',2,'append','Width',400,'Height',150,'pos%',[20,35],'posAnker','W');
This was an example i found but is there a way i can automatically put my data into cells?
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 MATLAB Report Generator 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!