Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

Running Matlab through PHP not quite working.

2 visualizaciones (últimos 30 días)
Lost
Lost el 14 de Mzo. de 2014
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
So I have this line in my PHP code:
exec('start /b matlab -nosplash -nodesktop -minimize -r Matlab3("C:\xampp\htdocs\temp\test_file.txt")');
And I can see Matlab start, and stay running in my Windows Task Manager, but it doesn't actually do any of the things its supposed to do (save a text file it creates, save a picture it takes).
HOWEVER, if I go to my command prompt, and type start /b matlab -nosplash -nodesktop -minimize -r Matlab3("C:\xampp\htdocs\temp\test_file.txt")
Then it works perfectly. What can I do to make it work via PHP?

Respuestas (0)

La pregunta está cerrada.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by