
9 Source Control Interface
Undoing the Checkout on UNIX
In this section...
“Impact of U ndoing a File Checkout” on page 9-36
“Undoing the Checkout for One or More Files Using the Current Directory
Browser” on page 9-36
“UndoingtheCheckoutforaSingleFileUsingtheEditor/Debugger,
Simulink, or Stateflow” on page 9-36
“Function Alternative” on page 9-37
Impact o f Undoing a File Checkout
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 y ou have made since checking out a file, select File > Save As,and
supply a different filenam e b efore yo u undo the checkout. Undo the checkout
using the C urrent Directory browser for one or more files. For only one file,
you can also use the Editor/Debugger, Sim ulink, or Stateflow.
Undoing the Checkout for One or More Files Using
the Current Directory Browser
1 In the MATLAB Current Directory browser, select the file or files for
which you want to undo the checkout.
2 Right-cli
ck, and from the context menu, select Source Control > Undo
Checkout.
MATLAB undoes the checkout.
An error a
ppears in the Command Window if the file is not checked out.
Undoing t
he Checkout for a Single File Using the
Editor/D
ebugger, Simulink, or Stateflow
1 Op en the M-fil e, Simulink model, or Stateflow chart for which you want
to undo the checkout.
9-36
Commenti su questo manuale