Rank: 2044 based on 45 downloads (last 30 days) and 2 files submitted
photo

Stefan Slonevskiy

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by Stefan View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
02 May 2013 Screenshot exportToPPTX MatLab tool for exporting data to PowerPoint 2007+ files without the need COM-object automation. Author: Stefan Slonevskiy powerpoint, pptx, ppt, automation 31 11
  • 4.6
4.6 | 6 ratings
19 Feb 2013 Screenshot savepng savepng is a fast PNG image compression routine that outperforms MatLab's built-in imwrite Author: Stefan Slonevskiy png, mex, image, export, save, optimized 14 0
Comments and Ratings by Stefan View all
Updated File Comments Rating
02 May 2013 exportToPPTX MatLab tool for exporting data to PowerPoint 2007+ files without the need COM-object automation. Author: Stefan Slonevskiy

Thanks, p kung. Latest version is up, it should now work with multiple images properly. Let me know if you see any other bugs.

26 Mar 2013 exportToPPTX MatLab tool for exporting data to PowerPoint 2007+ files without the need COM-object automation. Author: Stefan Slonevskiy

In terms of capturing screen rather than figures, this is a known getframe limitation. See MathWorks' article on a potential workaround: http://www.mathworks.com/support/solutions/en/data/1-3NMHJ5/ You can use hardcopy method to get figure/axis CDATA and then just pass that to exportToPPTX. An example of passing CDATA to exportToPPTX is available in examples_exportToPPTX.m

26 Mar 2013 exportToPPTX MatLab tool for exporting data to PowerPoint 2007+ files without the need COM-object automation. Author: Stefan Slonevskiy

To save figures in another file format use MatLab's imwrite function to write to a temporary file and then call exportToPPTX with that filename. For example:
img = getframe(gcf);
imwrite(img.cdata,'temp.jpg');
exportToPPTX('addpicture','temp.jpg','Position',[6 3.5 3 2]);

In terms of plans for notes support, I was hoping to add it at some point.

13 Mar 2013 exportToPPTX MatLab tool for exporting data to PowerPoint 2007+ files without the need COM-object automation. Author: Stefan Slonevskiy

Jonathan, I tested it with four images (in the examples_exportToPPTX.m script) and it worked fine. Can you please provide more details about this bug?

13 Mar 2013 exportToPPTX MatLab tool for exporting data to PowerPoint 2007+ files without the need COM-object automation. Author: Stefan Slonevskiy

Thanks for the suggestion, Darik. I have added this and a few other options to the latest version.

Comments and Ratings on Stefan's Files View all
Updated File Comment by Comments Rating
02 May 2013 exportToPPTX MatLab tool for exporting data to PowerPoint 2007+ files without the need COM-object automation. Author: Stefan Slonevskiy kung, p

thanks Stefan for such a speedy response

works beautifully, exactly what i need.

02 May 2013 exportToPPTX MatLab tool for exporting data to PowerPoint 2007+ files without the need COM-object automation. Author: Stefan Slonevskiy Slonevskiy, Stefan

Thanks, p kung. Latest version is up, it should now work with multiple images properly. Let me know if you see any other bugs.

30 Apr 2013 exportToPPTX MatLab tool for exporting data to PowerPoint 2007+ files without the need COM-object automation. Author: Stefan Slonevskiy kung, p

Jonathan is right,

i also can't create 4 different plots on the same figure. they're all identical.

in your example, you plot earth 4 times & put them in 2x2 plots on a slide.

now i want to plot 4 different plots/images & put them in 2x2 plots on one slide.

somehow, the 2x2 plots are of the same image (last plot) 4 times.

if you could kindly fix this bug, i'd give it 5 stars.

regards,

26 Mar 2013 exportToPPTX MatLab tool for exporting data to PowerPoint 2007+ files without the need COM-object automation. Author: Stefan Slonevskiy Slonevskiy, Stefan

In terms of capturing screen rather than figures, this is a known getframe limitation. See MathWorks' article on a potential workaround: http://www.mathworks.com/support/solutions/en/data/1-3NMHJ5/ You can use hardcopy method to get figure/axis CDATA and then just pass that to exportToPPTX. An example of passing CDATA to exportToPPTX is available in examples_exportToPPTX.m

26 Mar 2013 exportToPPTX MatLab tool for exporting data to PowerPoint 2007+ files without the need COM-object automation. Author: Stefan Slonevskiy Slonevskiy, Stefan

To save figures in another file format use MatLab's imwrite function to write to a temporary file and then call exportToPPTX with that filename. For example:
img = getframe(gcf);
imwrite(img.cdata,'temp.jpg');
exportToPPTX('addpicture','temp.jpg','Position',[6 3.5 3 2]);

In terms of plans for notes support, I was hoping to add it at some point.

Top Tags Applied by Stefan
automation, export, image, mex, optimized
Files Tagged by Stefan View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
02 May 2013 Screenshot exportToPPTX MatLab tool for exporting data to PowerPoint 2007+ files without the need COM-object automation. Author: Stefan Slonevskiy powerpoint, pptx, ppt, automation 31 11
  • 4.6
4.6 | 6 ratings
19 Feb 2013 Screenshot savepng savepng is a fast PNG image compression routine that outperforms MatLab's built-in imwrite Author: Stefan Slonevskiy png, mex, image, export, save, optimized 14 0

Contact us