Using ToirtoiseCVS, you can check out a copy of the source code from the VISTA repository. You will work on this checked out copy. When you are done, you will upload your copy to the shared repository using TortoiseCVS. The CVS software will manage version differences and databasing.
· Go to the directory where you want to store your local copy of the software. For example, change into a directory C:\user\michal\Matlab,.
· Right click on the folder. From the options, select CVS checkout.
· A CVS options box (left) will appear (see figure). Fill in the fields below, not the top field. CVS fills in the main field, at the top, for you.
· Then example illustrates checking out mrLoadRet-3.0 from the VISTASOFT Repository.
· CVS will download the code you are checking out a directory named C:\user\michal\Matlab\VISTASOFT. In the example shown, you will have a directory called mrLoadRet-3.0. For mrVista users, you should also check out VISTASOFT\{Align,Anatomy,BrainVoyager,filters,mrFlatMesh}.
|
|
Ordinarily, we control our paths by adding one directory, say “C:\user\michal\paths”, to the Matlab path. We then place path control programs (and even the startup file) in that directory.
In this example to use the version of the checked-out VISTASOFT software, you should have a vistaPath program such as
function vistaPath(rootDir)
%
if ~exist('rootDir','var'), rootDir = 'c:\user\michal\Matlab\VISTASOFT\';
end
p = genpath(rootDir);
addpath(p);
fprintf('Adding local %s\n',rootDir);
return;
In your startup file include the line
vistaPath('c:\user\michal\Matlab\VISTASOFT\');
Return to VISTA CVS Main Page
Created 8/31/02, Wandell