Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Simulink Projects and Subversion

123 views
Skip to first unread message

Kamran Salari

unread,
Feb 24, 2012, 1:20:17 PM2/24/12
to
Hi,

We are using Matlab 2011b and Simulink Projects. This is in Windows XP and Windows 7 environment. For version control, we are using TortoiseSVN and Sliksvn. Right now, I have the repository on a computer on the network and the four of us access the repository through a mapped network drive. We are not using a server. Subversion documentation specifies that this is risky and prone to corruption of the repository. I want to move to a server configuration. I want to use CollabNet Subversion Edge and CollabNet Subversion command-line client. Simulink Projects documentation specifies "Projects contain an interface to any ApacheSubversion (SVN) client that supports the command-line interface". Before implementing this, I wanted to find out if other people have tried this and/or know possible issues with this setup.

Thank you for your help.

Kamran Salari

Ben

unread,
Feb 24, 2012, 3:25:16 PM2/24/12
to
"Kamran Salari" <kamran...@philips.com> wrote in message <ji8kd1$k29$1...@newscl01ah.mathworks.com>...
Hi Kamran,
We just finished (three weeks ago) implementing our SVN system. We're using an Ubuntu SVN server and using the TortoiseSVN client on the different Windows7 and XP machines. Since the our simulink .mdl and the matlab .m files are human readable, SVN is able to handle the versioning just fine. (We also considered doing the network shared drive before reading about the prone to corruption issue.)

Getting the server set up wasn't too difficult, but we relied on this pretty heavily: http://svnbook.red-bean.com/en/1.7/svn.serverconfig.html. The biggest problem we're facing now is the limited amount of overlays available to Windows7 machines -- we had to delete entries in the window's registry. We're still kicking the tires a bit, but we're pretty happy.

Good luck!

Tim Hosey

unread,
Mar 19, 2012, 7:56:10 AM3/19/12
to
Hi Kamran,

We recommend that you download the recently released improved SVN integration from http://www.mathworks.com/support/bugreports/759426 (compatible with R2011b and R2012a).

The improved SVN integration supports using SVN with a server that requires login details. The SVN integration that ships as standard with R2011b and R2012a does not. The improved SVN integration is compatible with SVN 1.6 and earlier. (SVN 1.7 support is planned but is not yet available).

We recommend that SVN is configured to treat Simulink model files as binary (follow this link to see how to do this http://www.mathworks.co.uk/help/toolbox/simulink/ug/bst2y9q-1.html#btcdt09 ). Source Control tool auto-merge does not always work successfully on Simulink model files, and can result in corrupted files.

The following white paper has more information on this subject:
http://www.mathworks.com/tagteam/40503_SAE-2007-01-1775-Configuration-Management-MathWorks.pdf.pdf

I hope this helps.

Best regards,

Tim

Simulink Developer
MathWorks, Inc.


"Kamran Salari" <kamran...@philips.com> wrote in message <ji8kd1$k29$1...@newscl01ah.mathworks.com>...

Juan Jimenez

unread,
Oct 4, 2013, 5:57:06 AM10/4/13
to
"Kamran Salari" <kamran...@philips.com> wrote in message <ji8kd1$k29$1...@newscl01ah.mathworks.com>...
Hi, I successfully run SVN integration with Simulink projects under Matlab 2011b. I applied the path provided by matlab to be able to connect to SVN servers that requires authentication and everything worked fine.Recently, my company added a proxy server to the network infrastructure so that all the http traffic must be redirect to it. Since then, I cannot connect to SVN server from the simulink project interface. I change the SVN client settings to enable the proxy connections and I can connect to the SVN server from the tortoise client perfectly. However I cannot connect from matlab because it tried to establish the SVN connection directly and it don't take into account the proxy settings. So, is it possible to tell Matlab that uses a proxy to establish the connection to the SVN server.

Thanks, Juan.
0 new messages