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.

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

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


 Function Alternative for Checking Out Files Using Notebook