Compiled Script (moveToNextHole) not executing when run as a service on windows 2012 Server
1 view (last 30 days)
Show older comments
So I have an interesting problem. I have a matlab script that generates a report using the report generator. When I compile it, it runs fine. I move it over to a windows 2012 server, double click it from the windows interface, it executes fine. However, I have a another application installed as a service on the server, and at certain times that service runs my compiled matlab script. When it runs from the service, it hangs up. Specifically it hangs when the script executes the moveToNextHole command. I have pin pointed it to this line in the code as I sent emails to myself after each line of code.
Does anyone know how to work around this when the compiled matlab code gets executed by a service on a windows 2012 server?
D = Document(fileout,'docx',tempname);
moveToNextHole(D);
0 Comments
Answers (0)
See Also
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!