| Development Environment | ![]() |
Adding Files to the Source Control System
You can add a single file or multiple files to the source control system. Note that the file is first added to the source control system using the Add command, not the Check In command.
Adding a Single File
To add a file to 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.
Adding Multiple Files
To add multiple files to 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 Adding File to Source Control
| 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 add as the first argument in the verctrl function to add a file to the source control system. Note that the verctrl function with the add 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 add a single file or multiple files. The verctrl function with the add argument has this form:
| Selecting and Viewing the Source Control System | Checking Files Out of the Source Control System | ![]() |