Running Matlab through PHP not quite working.
Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
Ältere Kommentare anzeigen
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?
1 Kommentar
Lost
am 20 Mär. 2014
Antworten (0)
Diese Frage ist geschlossen.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!