Development Environment    

Showing File History

You can show the history of a single file or multiple files in the source control system. To show the history of a file:

  1. Select Source Control -> Show History from the File menu in the MATLAB Editor, Simulink model, or Stateflow model.
  1. The dialog boxes returned are specific to the source control system being used. For example, if Microsoft Visual SourceSafe is the currently selected source control system, then the History Options dialog box will be returned.

  1. Enter the appropiate label, date, and user information and Click OK.
  1. The Microsoft Visual SourceSafe History dialog box opens

.

Function Alternative for Showing File History

Use history as the first argument in the verctrl function to show the history of the file in the source control system. Note that the verctrl function with the history 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. The verctrl function with the history argument has this form:


  Removing Files from the Source Control System Comparing the Working Copy of a File to the Latest Version in Source Control