undocheckout - Undo previous checkout from source control system (UNIX® platforms)

GUI Alternatives

As an alternative to the undocheckout function, select Source Control > Undo Checkout in the File menu of the Editor, Simulink®, or Stateflow®, or in the context menu of the Current Directory browser. For more information, see Undoing the Checkout on UNIX® Platforms.

Syntax

undocheckout('filename')
undocheckout({'filename1','filename2', ...,'filenamen'})

Description

undocheckout('filename') makes the file filename available for checkout, where filename does not reflect any of the changes you made after you last checked it out. Use the full path for filename and include the file extension.

undocheckout({'filename1','filename2', ...,'filenamen'}) makes filename1 through filenamen available for checkout, where the files do not reflect any of the changes you made after you last checked them out. Use the full paths for the file names and include the file extensions.

Examples

Typing

undocheckout({'/myserver/mymfiles/clock.m', ... 
'/myserver/mymfiles/calendar.m'})

undoes the checkouts of /myserver/mymfiles/clock.m and /myserver/mymfiles/calendar.m from the source control system.

See Also

checkin, checkout

For Microsoft®Windows® platforms, use verctrl.

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS