uvcyclotron / AutoEqualiser

Python and Matlab script for MediaMonkey, to automatically determine genre from song analysis, and change equaliser according to genre for each song.
3 stars 0 forks source link

Integrating with Matlab #2

Open uvcyclotron opened 11 years ago

uvcyclotron commented 11 years ago

Tried mlabwrap. Gives error and requires a lot of preinstall work arounds. Not a good fix. Try some other way.

http://stackoverflow.com/questions/2883189/calling-matlab-functions-from-python

http://obasic.net/how-to-install-mlabwrap-on-windows

uvcyclotron commented 11 years ago

Directly call maltab using subprocess.call() using cmd line, since the requirement is only to run a .m file in matlab. Get the output from a file created via the matlab script, read that output file.