Reputation: 234
Two servers are implied here : One SQL server, One Windows server (hosting a wamp server and matlab)
My purpose:
Passing arguments to the matlab server ( Apache->Batch )
Matlab process ( Batch->Matlab(<-SQL) )
The issue:
When the webserver calls the batch file which calls the matlab job, matlab could not manage to retrieve data from the SQL server, and the webpage waits for the end of process forever.
When I start the batch file through the windows cmd, the SQL statements works fine in matlab.
I tried "set_time_limit(0);" in the php script (no time limit) because the matlab script takes some time. Did not work.
What would really helped me:
Many thanks!
Upvotes: 0
Views: 794
Reputation: 234
I have figured it out. The php was actually fine. The only issue was with the ODBC link.
Upvotes: 0