Matlab and PHP
3 ビュー (過去 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
0 件のコメント
回答 (1 件)
Walter Roberson
2011 年 8 月 30 日
Try exec('matlab -nodisplay -r "5*5,quit"')
No promises though.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Startup and Shutdown についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!