Development Environment | ![]() ![]() |
Specifying the Project Configuration File - For PVCS Only
If you use PVCS, you must specify a project configuration filename in cmopts
.m
. The project configuration file is a file you create and use in PVCS which MATLAB needs to know the name of. The cmopts.m
file is located in $matlabroot\toolbox\local
, where $matlabroot
is the directory in which MATLAB is installed.
Open cmopts.m
in the MATLAB Editor or another text editor. Specify the project configuration file in the section that starts with % BEGIN CUSTOMIZATION SECTION
. Assign the name of your project file, including the full pathname, to the variable 'DefaultConfigFile
'. Then save cmopts.m
.
For example, if the project configuration file is Proj.cfg
, add the following line in cmopts.m
.
DefaultConfigFile = 'c:\\PVCS\\PVCSPROJ\\Projmgr.prj\\Proj.cfg'
You can view the current project configuration file by using the cmopts
function with 'DefaultConfigFile'
as the argument. For example, type
cmopts('DefaultConfigFile')
'c:\\PVCS\\PVCSPROJ\\Projmgr.prj\\Proj.cfg'
![]() | Setting Up the Source Control System | Checking Files into the Source Control System | ![]() |