| Contents | Index |
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.
undocheckout('filename')
undocheckout({'filename1','filename2',
...,'filenamen'})
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.
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'})

Explore how to use MATLAB to make advancements in engineering and science.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |