How to call dos commands from MATLAB command window?
15 views (last 30 days)
I am trying to download SVN folder to my local copy, Using dos command
Output=dos(svn checkout /SVN Repository/ /Local Folder Path/)
which is not working, Any idea how to call dos command from MATLAB? Particularly I want to download SVN files without SVN dialogur box popup
Stephen23 on 22 Jul 2016
Edited: Stephen23 on 22 Jul 2016
Read the dos help page. The help explains how dos must be called, and it also gives lots of examples for your to try.
In your case you need to provide a string. Try this:
out = dos('svn checkout /SVN Repository/ /Local Folder Path/')
If this does not work then you need to give us the exact and complete error message or description of what happens.
SVN is built into MATLAB: Note that MATLAB has SVN built in, so it is not required to call DOS or do any other hacking around: