display string array cells as bullet points in text

조회 수: 26 (최근 30일)
Djdj Cjcjxj
Djdj Cjcjxj 2020년 8월 25일
I have a string array as follows:
words = ["1a";...
"2a";...
"2a";...
"4a";...
"5b";...
"1a"]
I am using the mlreportgen.ppt in matlab to create a powerpoint. On one of the slides, there is an existing textbox. I would like to replace the textbox with bulletpoints of the array words. I tried the following but the output is a table and not bullet points or even just text.
contents = find(slides, 'textbox') % finds the textbox of which the contents will be replaced
newtext = words;
replace(contents(1),newtext)
I also only want to list repeating cells once. What I want the programm to put into the textbox is as follows basically:
  • 1a
  • 2a
  • 4a
  • 5b
any help appreciated!!

답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB Report Generator에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by