Assuming svn is available, the following steps need to be carried out:
(1)
Decide where you want to instal the m-files.
Probably best to make two new empty subdirectories like this (adapt for Linux etc.):
md d:\matlabnew\phil
md d:\matlabnew\tapadm
(2)
Run the following console commands to perform the 'initial checkout' (after adjusting the names of the subdirectories if you are not using d:\matlabnew).
This can also be done from matlab's command window (in which case insert a '!' at the beginning).
(Windows: Use the 'run' command, or open a 'DOS' command window)
This step only needs doing once.
svn checkout https://svn.phonetik.uni-muenchen.de/svn/repos/Phil/trunk D:\matlabnew\phil --username philmguest --password ipsmuc
svn checkout https://svn.phonetik.uni-muenchen.de/svn/repos/TAPADM/branches/Phil D:\matlabnew\tapadm --username philmguest --password ipsmuc
(3)
Make sure the following commands are included in your matlab startup.m file (again, replace d:\matlabnew if necessary):
addpath d:\matlabnew\phil\3dnew
addpath d:\matlabnew\phil\m\mt
addpath d:\matlabnew\phil\m
addpath d:\matlabnew\tapadm
(4)
It is recommended to also include the following commands in your matlab startup.m
svn will then check for updates every time you start matlab.
If this proves too cumbersome (e.g slow network connection) then put them in a separate m-file
and run them once every day or so.
%Discard local changes:
!svn revert d:\matlabnew\phil -R
!svn revert d:\matlabnew\tapadm -R
%Daily Update:
!svn update d:\matlabnew\phil --username philmguest --password ipsmuc
!svn update d:\matlabnew\tapadm --username philmguest --password ipsmuc
After installing svn it is preferable to insert the path to the program into Windows'
'path' environment variable (otherwise all the svn commands given above for checkout and update will have to use the complete path)
(Administrator privileges are needed to change the environment variables):
control panel > system > advanced > environment variables
In the system variables choose 'path' and then edit.
Add something like the following to the existing setting of the path variable
(details depend on where you have installed svn and which version you have downloaded):
;c:\program files\svn-win32-1.4.0\bin
(note the use of the semicolon to separate entries in the path variable)
Be careful not to change any existing settings!