display string array cells as bullet points in text

24 views (last 30 days)
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!!

Answers (0)

Categories

Find more on MATLAB Report Generator in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!