I am working on a Windows machine. I observe that if my .NET application, created using MATLAB Builder NE generated component, has been idle for a while, I encounter the MATLAB Compiler Runtime startup overhead again.
For example, if I run the application for the first time at 12:00 noon, it takes about 3 minutes to return the results. On subsequent runs, the application takes about 20 seconds to return the results. If I re-run the application at 8:00 PM, it takes about 2 minutes to run. However, on subsequent runs, the application again takes about 20 seconds.
What happens to the MATLAB Compiler Runtime engine between 12:00 noon and 8:00 PM? Why is the application slow again, even when I did not shut down the MATLAB Compiler Runtime process?
Best Answer