Here's how you can get the revision of an SVN file in MATLAB:
main.m373 chars14 lines
This code uses the system command in MATLAB to run the svn info
command and get the information about the file from SVN. It then parses the output to get the revision of the file. Note that this code assumes that the SVN client is installed on your system and is in your system's path.
gistlibby LogSnag