how to compile matlab file in php? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

how to compile matlab file in php?

i have an project use matlab and php so i want to mix that program... help me please...

28th Jun 2017, 2:40 AM
aditia kusuma
aditia kusuma - avatar
1 Answer
+ 1
There's no MATLAB interface for PHP, so you need to pass MATLAB calculation results to PHP via File I/O in the following simple example, result of magic square is written in result.csv and will be loaded in PHP and shown in Web browser. matlab command line options are different among Windows, Linux and Mac, for example, -nodesktop option is available in Linux, but for Windows, -automation option is available. So, MATLAB command line string in PHP will be different depending on OS. Please follow this link https://se.mathworks.com/matlabcentral/answers/374612-wants-to-execute-matlab-file-with-php
20th Jul 2018, 5:00 PM
Martins Akoje
Martins Akoje - avatar