0

how to connect between matlab and php?

hello everyone, I need a help to how connect between matlab and php, what the idea that i want for example in matlab doing some calculation like c=a+b, from php i send input to matlab to solve and give me result that appear in site .php , if i pass an input like (1,2) from php send it to matlab which will do the calculation and give result which is 3 and this result send it to php and then appear in the site of php which is 3. i hope you understand , i hope you help me as soon , and show me it with some code to understand if you can, thanks for all a lot.

14th Sep 2021, 10:30 PM
Emma UB
Emma UB - avatar
2 Answers
+ 1
You could do this with the Matlab Engine API, from C, C++, Fortran, Python or Java. But PHP is not listed here: https://www.mathworks.com/support/requirements/language-interfaces.html
15th Sep 2021, 4:08 AM
Tibor Santa
Tibor Santa - avatar
0
thank you
16th Sep 2021, 3:07 PM
Emma UB
Emma UB - avatar