Liberate your MATLAB code with LiberMate. Translate your software to free (libre) Python and the SciPy package. Are you a graduating student loosing access to MATLAB or an institution needing to share/collaborate scientific software with others.
Versions 0.4 and 0.3 also require PyCLIPS ( http://pyclips.sourceforge.net ) Usage: python libermate.py matfile.m Quality of Matlab to Python translation not evaluated.
Version 0.3 * Added pyCLIPS dependence * Added AST based translation rules * replaced xend with 0 * fixed simple conversion of a*b -> a*b when a or b is a scalar would default to dot(a,b) * xend now replaced with zero so that x(a:end-1) -> x[a:(0-1)] or x[a:-1] and x(a:end-b) -> x[a:0-b-1] x(end) -> x[end-1] this may fail with some expression such as x(a:end+b) * rules for using parentheses was wrong to do reversed priority of python operators * using hstack and vstack rather than c_ and r_ notation.
Still rough around the edges (and in the middle). Seem to have comments regarding how the translation works * vs dot, int to float, ... I'm thinking LiberMate needs to have a simple method for users to customize translation rules. Initially looking at CLIPS (expert system) for backend rule engine, but it not a very satisfactory front end, for user customization.
Version 0.2 * Fixed elif statement * fixed simple command expressions * removed verbose printing * added basic tests
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use
Thanks for your rating!
Would you also like to write a review?