I am using MATLAB R2008a and I want to know what source control has integration with it.
I’ve heard Visual Source Safe is not so good. Does Subversion have integration with it?
I am using MATLAB R2008a and I want to know what source control has
Share
I wouldn’t worry about the Matlab source control integration. It’s convenient, but not necessary.
Every modern source control system has one or more GUIs built for it, which will usually be more powerful than the generic source control GUI that Matlab provides. And most have command line utilities which expose the full power of the system. You can use these by getting them on your system path and then calling them from Matlab with “!”. Or you can write your own M-code wrapper functions that call your source control utilities. As a convenience, these can support partial paths by using “which”, like so.
For external tools, if they make changes to files or dirs and Matlab doesn’t see them (e.g. if you’re on a network drive that’s exhausted its change notification handles), you can use
path(path)to force Matlab to rescan.So, pick your source control system on its own merits (as long as it exposes its functionality in the command line or ActiveX controls), and then wrap it if you feel the need and Matlab doesn’t already integrate it. I’ve worked with CVS, ClearCase, and AccuRev this way, and we’ve always ended up using the version control tools directly or through custom wrappers instead of the Matlab integration.