Communication between Matlab and Max

ivanlen's icon

I need to run a psychophysics experiment and its programming it's in Matlab, the sonification programming is in Max and I need somehow that Matlab candsend messages to Max to activate o deactivate some functions of my program in Max.

Really i don't know how to accomplish this, any help?

Thank you very much!

PS: I am running the experiment on Windows

JavaProgrammer's icon

I don't program Matlab, but note this page saying that you can communicate with other programs from Matlab using standard TCP/IP.

You should be able to use OSC as well.

Then you need to receive the data in Max:

(I would just write a java object to act as the server - but that's me).