Professional Documents
Culture Documents
2 - For convenient use of City Drain 2.0 it is required to include the CityDrain02
directory (and all subdirectories)
in the Matlab paths. Therefore the Matlab �startup.m� file is to be extended to
automatically add the path at every
startup of Matlab.
C:\Programme\MATLAB6p5\work\startup.m
In case there is no startup.m file created in your Matlab, please create a new
startup-file. The code that
is required can be found in CD2_startup.m (see at the end of this install info).
The user may modify the
path of City Drain included in the code for his purpose.
> citydrain
in the Matlab command window. Alternative, the Library can be opened via
�File/Open�� :
C:\Programs\CityDrain02\CD2_Library.mdl
================================================================
<CD2_startup.m>
================================================================
cd02path='C:\Program Files\CityDrain01';
cd02path_full=genpath(cd02path);
k=strcmp(cd02path_full,'');
disp(cd02path);
path(path,cd02path_full);
disp(' ');
disp(' ');
end
clear('cd02path');clear('cd02path_full');clear('k');
% In case CITY DRAIN program files are moved, please insert the correct path above
================================================================