将PHP与Octave或Matlab链接 [英] link PHP with Octave or Matlab
本文介绍了将PHP与Octave或Matlab链接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
假设我有很多数学计算,要在php中实现非常繁琐.是否可以通过某种方式链接服务器上的PHP和Octave,使得php将参数发送到Octave并接收答案.
Suppose I have a lot of math calculations which are quite tedious to implement in php. Is it possible to somehow link PHP and Octave on the server in such a way, that php sends parameters to Octave and receives answers back.
有人尝试过类似的东西吗?
Has anyone tried anything similar?
推荐答案
另一种解决方案是使用 octave-daemon ,是专门为此目的编写的.在Linux上工作,对Windows不了解.
Another solution is to use octave-daemon, which was written specifically for this purpose. Works on Linux, don't know about Windows.
这篇关于将PHP与Octave或Matlab链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文