Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

link PHP with Octave or Matlab

Tags:

php

matlab

octave

Suppose I have a lot of math calculations which are quite tedious to implement in php. Is it possible to somehow link PHP and Octave on the server in such a way, that php sends parameters to Octave and receives answers back.

Has anyone tried anything similar?

like image 462
Salvador Dali Avatar asked Dec 17 '11 19:12

Salvador Dali


2 Answers

Another solution is to use octave-daemon, which was written specifically for this purpose. Works on Linux, don't know about Windows.

like image 179
Bogdan Stăncescu Avatar answered Sep 20 '22 21:09

Bogdan Stăncescu


You can use matlab compiler to make an executable matlab application, that you can call from php.

like image 31
Oli Avatar answered Sep 19 '22 21:09

Oli