MATLAB Function Reference    
cmopts

Get name of source control system

Graphical Interface

As an alternative to cmopts, use preferences. Select File -> Preferences in the MATLAB desktop, and then select General -> Source Control.

Syntax

Description

cmopts returns the name of the source control system you selected using preferences, which is one of the following:

If you have not selected a source control system, cmopts returns

Specifying a Source Control System

To specify the source control system:

  1. From the MATLAB Editor window or from a Simulink or Stateflow model window, select File -> Preferences.
  1. The Preferences dialog box opens.

  1. In the left pane, click the + for General, and then select Source Control.
  1. The currently selected system is shown.

  1. Select the system you want to use from the Source control system list.
  2. Click OK.

For more information, see source control preferences.

Examples

Type cmopts and MATLAB returns rcs, meaning the source control system specified in preferences is RCS.

See Also

checkin, checkout, customverctrl


  closereq colamd