
Setting Up the Source Control Interface on Windows
MATLAB remem be rs preferences between sessions, so you only need to
perform this action again when you want to access a different source control
system.
Function Alternative
A function alternative to select a source control system is not available, but
you can list all available source control systems using
verctrl with the
all_systems argument. Use cmopts to display the name of the currently
selected source control system.
Register Source Control Project with MATLAB
Register a source control system project with a directory in MATLAB, that is,
associate a source control system project with a d irectory and a ll files in that
directory. Do this only one time for any file in the directory, which registers all
files in that directory:
1 In the M ATLAB Current Directory browser, select a file that is in the
directory you want to as sociate with a project in your source control system.
For example, select
D:\my_thesis_files\wind.m. This will associate a ll
files in the
my_thesis_files directory.
2 Right-click, and from the context m enu, select Source Control > Register
Name_of_Source_Control_System Project with MATLAB.The
Name_of_Source_Con trol_System is the source control system you
selected using preferences as described in “Specify Source Control System
in MATLAB” on page 9-6.
9-7
Commentaires sur ces manuels