How to format text to change font size

3 ビュー (過去 30 日間)
Avishka G
Avishka G 2020 年 8 月 5 日
コメント済み: Avishka G 2020 年 8 月 6 日
%A sample code
x1 = randi([0, 1], [6,4])
S=size(x1,1);
R=1;
%open powerpoint and evaluate toPPt and it should work
toPPT('setTable',{{'<s font-size:6.5>HoleNo.</s>','<s font-size:6.5>X [mm]</s>','<s font-size:6.5>Y [mm]</s>','<s font-size:6.5>Z [mm]</s>'};{(sprintf('<s font-size:12>%g</s>',x1(R:S,1:4)))}},'SlideNumber',2,'pos%',[15,20],'Width',200,'Height',50,'pub',doPublishing)
I think the error occurs (sprintf('<s font-size:12>%g</s>',x1(R:S,1:4))) when I try to change the font size of the array
  9 件のコメント
Adam Danz
Adam Danz 2020 年 8 月 6 日
編集済み: Adam Danz 2020 年 8 月 6 日
What is toPPT?
Just found this. I'm assuming this is the function.
Avishka G
Avishka G 2020 年 8 月 6 日
correct, basically trying to create a powerpoint presentation but I want to change the font size in the table

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeMATLAB Report Generator についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by