% Matlab startup file for CS 111.

d = pwd;
fprintf('This is %s/startup.m\n',d);

format compact

addpath(d);

cd ncm
addpath(pwd)
cd(d);

cd exm
addpath(pwd)
cd(d);

dfile = sprintf('diary-%s.txt',datestr(now,'yyyy-mm-dd'));
diary(dfile);
fprintf('\nStarting diary file "%s" on %s.\n\n',dfile,datestr(now,'ddd mmm dd yyyy HH:MM PM'));
clear d dfile