Communicate between Max/MSP and MATLAB
deepdrumms
Mar 09 2010 | 6:03 am
Hi,
I'm looking to have Max serve as the front-end GUI for calling a few MATLAB scripts I've written. I've been searching around the internet for a few days now and have yet to find a working solution for communicating between the two programs. I did try using CNMAT's "matlabcommunicate" object, but it seems to be broken or incompatible. Does anyone know of way to transfer data between the two? All I need to do is either send data from a buffer~ to a MATLAB array, or vice versa. The CNMAT object apparently does this, but I cannot get it to work (the object doesn't load correctly).
Here's a link to the files:
http://cnmat.berkeley.edu/files/maxdl/OSX-CFM/matlabcommunicate_1.1.2.sit
And here's the error I get:
matlabcommunicate: unable to load object bundle executable
2010-03-08 19:29:06.404 MaxMSP Runtime[757:207] Error loading /Applications/Max5/Cycling '74/max-externals/matlabcommunicate.mxo/Contents/MacOS/matlabcommunicate: dlopen(/Applications/Max5/Cycling '74/max-externals/matlabcommunicate.mxo/Contents/MacOS/ma
tlabcommunicate, 262): no suitable image found. Did find:
/Applications/Max5/Cycling '74/max-externals/matlabcommunicate.mxo/Contents/MacOS/matlabcommunicate: mach-o, but wrong architecture
Thanks