I can’t get engine instance when I run my java program by window service
My software system is developed using Java. One function of the program is to send variables to the MATLAB window. When I run my Java program in the development environment or command-line window, it works well and sends variables correctly to the MATLAB window. But when I start my system with a window operating system service or scheduled task, variables cannot be sent to the MATLAB window. I carefully checked and found that when running my software program using the window service, I cannot retrieve the engine instance currently running in the MATLAB window.My software system is developed using Java. One function of the program is to send variables to the MATLAB window. When I run my Java program in the development environment or command-line window, it works well and sends variables correctly to the MATLAB window. But when I start my system with a window operating system service or scheduled task, variables cannot be sent to the MATLAB window. I carefully checked and found that when running my software program using the window service, I cannot retrieve the engine instance currently running in the MATLAB window. My software system is developed using Java. One function of the program is to send variables to the MATLAB window. When I run my Java program in the development environment or command-line window, it works well and sends variables correctly to the MATLAB window. But when I start my system with a window operating system service or scheduled task, variables cannot be sent to the MATLAB window. I carefully checked and found that when running my software program using the window service, I cannot retrieve the engine instance currently running in the MATLAB window. engine, window service MATLAB Answers — New Questions