Development Environment |
Checking Files into the Source Control System
You can check in one or more MATLAB M-files, Simulink models, or Stateflow models.
Checking in a Single File
To check in a single file into the source control system:
If you did not keep the file checked out and you keep the file open, note that it is a read-only version.
Checking in Multiple Files
To check in multiple files into the source control system:
If you did not keep the files checked out and you keep the files open, note that they are read-only versions.
Function Alternative for Checking In Files
Note For MATLAB command window access to the source control interface, you must first create a window and get its handle. See Using the Source Control Interface from the MATLAB Command Window for instructions on doing this. |
Use checkin
as the first argument in the verctrl
function to check files into the source control system. Note that the verctrl
function with the checkin
argument returns a logical 1
to the workspace if the file has changed on disk or a logical 0
to the workspace if the file has not changed on disk. You can check in a single file or multiple files. The files can be open or closed when you use checkin
. The verctrl
function with the checkin
argument has this form:
Checking Files Out of the Source Control System | Getting the Latest Version of Files from the Source Control System |