This was asked before, but the solution doesn't seem to work on MacOS. Wolfram Library has a package for 7 year old Matlab version. Is there a solution that works on MacOS 10.6 and Matlab 7.9?
I want to call CVX from Mathematica
You could use RunThrough["command",expr]
, this runs the external command command
, and feeds expr
(a Mathematica expression) as input to command
An example of a suitable command would be "matlab -r \"matlab expr\""
, you could place your CVX specific code in the "matlab expr" string.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With