Development Environment | ![]() ![]() |
Function Alternative for Checking In Files
Use checkin
to check files into the source control system. The files can be open or closed when you use checkin
. The checkin
function has this form.
checkin({'file1',...'filen'},'
comments
','string','
option
',... '
value
')
For file
, use the complete path. You must supply the comments
argument and a comments string with checkin
.
lock
option to on
.force
option to on
.The comments
argument, and the lock
and force
options apply to all files checked in.
After checking in the file, if you did not keep it checked out and have it open, note that it is a read-only version.
Example - Check in a File with Comments
To check in the file clock.m
with a comment Adjustment for Y2K
, type
checkin('\matlabr12\mymfiles\clock.m','comments','Adjustment ... for Y2K')
For other examples, see the reference page for checkin
.
![]() | Checking Files into the Source Control System | Checking Files Out of the SCS | ![]() |