function coursedata = courseinfo
% COURSEINFO returns information for training courses
%   coursedata = COURSEINFO
% coursedata is a structure with fields: 
%    name, number, description, prerequisistes, length, path, customstartup
%    and version.

% See also INSTALL_TRAINING.

% R13 Course Info  8/14/2002
% Louvere Walker, lwalker@mathworks.com

% NAME, this is a string the the full name for the course
coursedata.name = 'Advanced Programming Techniques in MATLAB';

% NUMBER, this is the course number, and used as the class directory name.
% For ML04, the class files are stored in \class\courses\ML04\
coursedata.number = 'ML04';

% DESCRIPTION, this is a long [1xM] char array with the course description
% http://www.mathworks.com/support/training/courses/ML04.shtml
coursedata.description = ['Extends the programming techniques acquired',... 
    'in the MATLAB Fundamentals and Programming Techniques course.',... 
    'Expands upon MATLAB programming capabilities, including performing',... 
    'error checking of code and vectorizing code to make it run faster.',... 
    'Demonstrates techniques for creating functions with increased flexibility.',... 
    'Explains the concept of object-oriented programming in MATLAB for',... 
    'creating and implementing your own data types. Demonstrates how to',... 
    'solve ordinary differential equations. Explains concepts for using',... 
    'the Optimization Toolbox.']; 

% PREREQUISITES, this is a long [1xM] char array with the prerequisites
% drescribed in it.
coursedata.prerequisites = ['MATLAB Fundamentals and Programming Techniques (ML01)',... 
    'or equivalent experience using MATLAB. ']; 

% LENGTH, this is a char array the a description of the length of the
% course.
coursedata.length = '1 day';

%%%  DO NOT EDIT BELOW THIS LINE UNLESS YOU ARE SPECIFYING A CUSTOM PATH OR
%%%  A CUSTOM STARTUP COMMAND.

% PATH, this is the cell array of strings.  Each cell contains one
% directory to be added to the path.  Use
%
% fpath = mfilename('fullpath');  % Requires MATLAB R13
% courseroot = fpath(1:strfind(fpath,'courseinfo')-1)
% coursedata.path =  {courseroot};
%
% to add just the parent directory for this file.
% For example: \class\courses\FI01
%
% If you had an additional directory to add, for example
% FI01\bonddemo\
% it would look like this:
% coursedata.path = {courseroot; [courseroot '\bonddemo']};

fpath = mfilename('fullpath');  % Requires MATLAB R13
courseroot = fpath(1:strfind(fpath,'courseinfo')-1);
coursedata.path =  {courseroot};

% CUSTOMSTARTUP, this is a cell array of strings to be writen into
% STARTUP.M immediately following the ADDPATH commands.
% These will be evaluated as lines in a script file.
coursedata.customstartup = {};

% VERSION, this is the version information for the course.
coursedata.version = 'R13';