| Development Environment | ![]() |
Getting the Latest Version of Files from the Source Control System
You can get the latest version of a file from the source control system for viewing and compiling, but not editing. You can get a single file, a single directory, multiple files, or multiple directories. The file or files will be tagged read only. The list of files should contain either files or directories but not both.
Getting the Latest Version of a Single File
To get the latest version of a single file:
Getting the Latest Version of Multiple Files
To get the latest version of multiple files:
Function Alternative for Getting Latest Version
| 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 get as the first argument in the verctrl function to get a file from the source control system. Note that the verctrl function with the get 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 get a single file or multiple files. The verctrl function with the get argument has this form:
| Checking Files into the Source Control System | Undoing the Check-Out | ![]() |