Matlab and PHP

조회 수: 3 (최근 30일)
Hoàng
Hoàng 2011년 8월 30일
hi, I want to call matlab from php (I using exec function in php)
<?PHP
echo exec('matlab -r 5*5');
?>
But when I use this command inside a system or exec I don't get any output, nor does the matlab opens and executes as it does in case of command line..
I am using wamp + matlab 7.11.0.
I need a help.
Thanks

답변 (1개)

Walter Roberson
Walter Roberson 2011년 8월 30일
Try exec('matlab -nodisplay -r "5*5,quit"')
No promises though.

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by