Description: Saves multiple MATLAB figure windows to powerpoint giving the user "subplot" style control over their positions in the final slide.
Given multiple figures you can use commands like:
subplotPPT(m,n,k,...) to print a copy of the figure to a powerpoint slide. The first three arguements behave like those of subplot: m rows of images, n columns amd k gives you the index of the image to paste to (if k has two element per image then the function will merge the image across the locations). Other inputs:
Vector of handles to figures to paste into the slide
Filename of powerpoint file to use
slide number to print to
Region of the slide to print to
image file format to print to (e.g jpg, png, bmp ...)
gaps between adjacent images
units for specifying measures in.
The zip file contains subplotPPT and test_PPTScript which runs through some examples of how to call the function
h(1) = figure;
h(2) = figure;
h(3) = figure;
h(4) = figure;
h(5) = figure;
[1 4; 2 3; 5 5; 6 9; 7 8],...
'region',[200 100 500 340],...
Generates the screenshot
Related: Format, Region, Number, adjacent, Units, Filename, handles
O/S:BSD, Linux, Solaris, Mac OS X
File Size: 10.0 KB