Code covered by the BSD License  

Highlights from
Demo Harvest

image thumbnail
from Demo Harvest by Santosh Kasula
Collect all the demos published with MATLABĀ® from specified directories.

demoharvestConfig
function out = demoharvestConfig
%DEMOHARVESTCONFIG  Configure demoharvest.
%   OUT = DEMOHARVESTCONFIG configures the required parameters for 
%   demoharvest and returns them in a structure. 
%   
%   NOTE:
%   Open this m-file to configure the following parameters
%   1. dirPath: Path where the output files are to be stored.
%   2. dirPathUrl: URL to the dirPath
%   3. harvestList: List of directories where demoharvest look for demos. For each
%   path in the list URL can also be specified.
%   4. emailList: Demoharvest will notify about the new files, if it finds, to
%   the people in the list.
%   dirPath and harvestList are required fields, where as dirPathUrl and 
%   emailList are optional.

%   Author : Santosh Kasula

config = [];

%dirPath
config.dirPath = '';

%dirPathurl
config.dirPathUrl = '';

%harvestList format is:
%config.harvestList = {'harvestPath1','harvestPathUrl1';
%             'harvestPath2','harvestPathUrl2';
%              ...};
config.harvestList = {''};

%emailList format is
%config.emailList = {'email1','email2','email3',...};
config.emailList = {''};

%output the configuration variables
out = config;

Contact us at files@mathworks.com