If you are a new user to source control, it is recommended that you select a source control system that is part of the MathWorks® source control integration with the Current Folder browser, such as Subversion® or Git™. For more information, see SVN and Git Source Control Integration topics.
|On this page…|
When you undo the checkout for a file, the file remains checked in, and does not have any of the changes you made since you checked it out. To save any changes you have made since checking out a file, click Save on the Editor tab, select Save As, and supply a different file name before you undo the checkout. Undo the checkout using the Current Folder browser.
An error appears in the Command Window if the file is not checked out.
The undocheckout function takes this form:
Use the complete path for filen and include the file extension. For example, to undo the checkout for the files clock.m and calendar.m, type