Installation guide
9 Source Control Interface
Function Altern
ative
Use checkin to ch
eck files into the source control system. The files can be
open or closed wh
en you use
checkin.Thecheckin function takes this form:
checkin({'file1','file2', ...},'comments','comment_text',...
'option','value')
For filen,usethe
complete path and include the file e xten si on. Yo u must
supply the
comme
nts
argument and a comments string with checkin.
Use the
option ar
gument to
• Check in a file an
d k eep it checked out — set the
lock option value to on.
• Check in a file ev
en though it has not changed since the previous check in
—setthe
force op
tion value to
on.
The
comments arg
ument and the
lock and force options apply to all files
checke d in.
Example Using checkin Function
To check in the f
ile
clock.m with the comment Adjustment for leap year,
type
checkin('\myserver\mymfiles\clock.m','comments', ...
'Adjustment for leap year')
For other examp
les, see the reference page for
checkin.
9-32