link PHP with Octave or Matlab

☆樱花仙子☆ 提交于 2019-12-01 17:44:54

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

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

GNU Octave can be called from PHP using the Linux command line, using commands like exec() or passthru(). Anyway, their appropriate use depends on what you are trying to do (there are no details of your problem).

One way to do it, in Windows, is to compile Matlab as a DLL and include it ona web app (a WFC service, for example). At that point you have a functional "matlab service" and then you can access that service from PHP or any other language.

It is also possible to create a .NET component using Matlab Builder NE, and deploy it using SilverLight on the web.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!