Development Environment    

Checking Files into the Source Control System

After creating or editing a file in the MATLAB Editor, Simulink, or Stateflow, save it, and then check in the file by following these steps:

  1. From the MATLAB Editor, select File -> Source Control -> Check In. You can also select this from the Simulink or Stateflow model or library windows.

    The Check in dialog box opens.

  1. If you want to check in the file but keep it checked out so you can continue making changes, select Keep checked out.
  2. If you have comments, type them in the Comments area.

    Your comments will be submitted whether or not you select Keep checked out, y.

  1. Click OK.

The file is checked into the source control system. If you did not save the file before checking it in, it is automatically saved when it is checked in.

If you did not keep the file checked out and you keep the file open, note that it is a read-only version.

If you use PVCS and get an error message 'DefaultConfigFile' not defined, you did not define the project file. For instructions, see Specifying the Project Configuration File - For PVCS Only.


 Specifying the Project Configuration File - For PVCS Only Function Alternative for Checking In Files