port Matlab program to run on Apache server
I'm in the process of analyzing a large chunk of data in matlab. The data is userdata which is freely available and which I want to use to make recommendations for users using my Internet service.
My question is: once开发者_StackOverflow I've written my algorithm in matlab what is the easiest/best way to integrate it into my php project /website?
Thanks in advance
Well, it really depends on what you are using Matlab for. In many ways, doing the same matrix transforms in PHP or Python would be a pain. Hence you were using Matlab. You can however keep everything in Matlab form by using the Matlab Web Server.
Simply compile down to a binary that can be run on your server. See the examples supplied by Matworks.
精彩评论