Development Environment    

Using the Source Control Interface from the MATLAB Command Window

For MATLAB command window access to the source control interface, you must first create a window and get its handle:

  1. To create a window and get its handle, enter the following in the MATLAB command window:
  1. import java.awt.*;

    frame = Frame('Test frame');

    frame.setVisible(1);

    winhandle=com.mathworks.util.NativeJava.hWndFromComponent(frame)

    The MATLAB command window will return a handle:

    winhandle =

        919892

  1. Perform source control operations using the verctrl function. Refer to the information on the specific source control operation for instructions on using the verctrl function:

For addtional help on command window access to source control operations, enter the following in the MATLAB command window:


  Starting the Source Control System Source Control Interface on UNIX Platforms