Skip to Main Content Skip to Search
Product Documentation

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

Alternatives

As an alternative to the undocheckout function, select Source Control > Undo Checkout in the File menu of the Editor, Simulink software, or Stateflow software, or in the context menu of the Current Folder browser.

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

Undo the checkouts of /myserver/myfiles/clock.m and /myserver/myfiles/calendar.m from the source control system:

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

See Also

checkin | checkout | verctrl

How To

  


Free MATLAB Interactive Kit

Explore how to use MATLAB to make advancements in engineering and science.


Download free kit

Trials Available

Try the latest version of MATLAB and other MathWorks products.


Get trial software
 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS