Hello, I have a problem with converting python script to MATLAB.
I used Python and python-pptx which helps to modify the powerpoint contents.
My purpose is to change the table setting in page6.
Here is my code in Python.
prs = py.pptx.Presentation(fileName);
slide = prs.slides;
table = slide.shapes.table;
for i in range(4):
for j in range(17):
table.cell(i, j).margin_left = 0
table.cell(i, j).margin_right = 0
table.cell(i, j).margin_top = 0
table.cell(i, j).margin_bottom = 0
I know that MATLAB not accept the ''(square bracket). So, I tried
instead of this line.
But, It doesn't work.
This code well works on Python.
How can I do? Please help.
Thanks in advance. please T_T