display string array content in textbox

2 ビュー (過去 30 日間)
gummiyummi
gummiyummi 2020 年 8 月 28 日
I am using mlreportgen.ppt to create a powerpoint using matlab from a template powerpoint.
I want to add slides with bulletpoints into a textbox. The bulletpoint content comes from a string array (45x1) converted into cell array (1x3). In each cell there are 15 strings aka. 15 bullet points.
Using a for loop I am trying to add a slide template and the bulletpoints.. however I am not getting the array contents in the textbox.
for i=1:length(text_cells) %text cells is cell array
txtslide = add(slides,'blank text')
contents = find(slides,'text box')
textmain = ({'following was found: ',...
text_cells(i),...
'carry on --> '});
replace(contents(i),textmain)
end
the picture below shows what I am getting currently with my code: CAN ANYBODY HELP ME?

回答 (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