Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Matlab dependency management

Tags:

maven

matlab

ivy

I am looking to apply dependency management to a large-scale Matlab project.

This project imports a large number of java libraries, as well as some compiled C++ code, to the extent that some software best practices are now becoming more essential.

Is anyone aware of something along the lines of Maven/Ivy for use with Matlab?

like image 524
supyo Avatar asked Sep 24 '11 02:09

supyo


1 Answers

I'm not very familiar with Matlab, but sounds like your issue is that you're trying to put a large set of binary files under some sort of version control?

If those files are available in Maven Central, you can use my ant2ivy script to generate a starting set of ivy.xml and ivysettings.xml files.

One of the great things about ivy is that it can be run stand-alone as follows:

java -jar ivy.jar -retrieve "lib/[artifact].[ext]" -ivy ivy.xml -settings ivysettings.xml 

This will download the jars and place them into a "lib" directory (Or whatever directory Matlab uses).

like image 186
Mark O'Connor Avatar answered Sep 28 '22 01:09

Mark O'Connor