Development Environment    

Undoing the Check-Out

You can undo the check-out for a file. The files remain checked in, without any of the changes you made since you checked them out. If you want to keep a local copy of your changes, use the Save As item from the File menu:

  1. Select Source Control -> Undo Check-Out. from the File menu in the MATLAB Editor, Simulink model, or Stateflow model.
  1. There is no return dialog.

Function Alternative for Undoing a Check-Out

The undocheckout function has this form:

Use the complete path for file.

Example - Undo the Check-Out for Two Files.   To undo the check-out for the files clock.m and calendar.m, type


  Checking Files Out of the Source Control System Using Notebook