display string array content in textbox
2 ビュー (過去 30 日間)
古いコメントを表示
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?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/353009/image.png)
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!