Here is an example of how to update an SVN repository programmatically using MATLAB:
main.m346 chars16 lines
You can modify the repository and repository path variables to match your SVN repository and the local directory where you have checked out the repository.
This example uses the system()
function to execute the SVN command. The status
variable will be 0 if the command was successful, and result
will contain the output from the command.
Note that SVN must be installed and in your system's path for this code to work.
gistlibby LogSnag