| 1 |
function startup() |
| 2 |
% Remembers a previously set startup directory to set the directory, invoke startd. E.g., |
| 3 |
% sd=cd % Set sd to the current directory |
| 4 |
% startd(sd) |
| 5 |
% |
| 6 |
% Copyright (C) 1997-2012 Tao Zha |
| 7 |
% |
| 8 |
% This free software: you can redistribute it and/or modify |
| 9 |
% it under the terms of the GNU General Public License as published by |
| 10 |
% the Free Software Foundation, either version 3 of the License, or |
| 11 |
% (at your option) any later version. |
| 12 |
% |
| 13 |
% It is distributed in the hope that it will be useful, |
| 14 |
% but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 15 |
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 16 |
% GNU General Public License for more details. |
| 17 |
% |
| 18 |
% If you did not received a copy of the GNU General Public License |
| 19 |
% with this software, see <http://www.gnu.org/licenses/>. |
| 20 |
% |
| 21 |
|
| 22 |
%---------------------------------- |
| 23 |
|
| 24 |
%path(path,'d:\Program Files\MATLAB\R2007a\work\cstz') |
| 25 |
%path(path,'c:\softwdisk\matlabr12\toolbox\cstz\cmexfiles\csminwelfinal\csminwelmex') |
| 26 |
%path(path,'C:\ZhaData\TZCcode') |
| 27 |
%path(path,'C:\Program Files\Intel\MKL\ia32\lib') |
| 28 |
%path(path,'C:\Program Files\Intel\MKL\include') |
| 29 |
%path(path,'d:\matlabr12\toolbox\cstz\lzpaper2') |
| 30 |
%path(path,'d:\matlabr12\toolbox\cstz\rvarcode') |
| 31 |
%path(path,'C:\Program Files\MATLAB\R2006b\work\cstz') |
| 32 |
path(path,'/Users/tzha/ZhaData/Git/TZcode/MatlabFiles') |
| 33 |
path(path,'/Users/tzha/ZhaData/Git/TZcode/MatlabFiles/MSV') |
| 34 |
if exist('startdir0.mat')==2 |
| 35 |
load /Users/tzha/ZhaData/Git/TZcode/MatlabFiles/startdir0 |
| 36 |
cd(sd) |
| 37 |
end |
| 38 |
format compact |
| 39 |
|
| 40 |
fn_reset_ini_seed(0); %Reset the random seed to clockcycle. Can be reoverwritten by fn_reset_ini_seed(number); |
| 41 |
|
| 42 |
|
| 43 |
|