Why is the MGLINSTALLER missing from my demo version of the MATLAB Compiler?
Why does an executable that is created using the demo version of the MATLAB Compiler check for the license file?
I installed the demo version of MATLAB with the MATLAB Compiler on my machine without any problems. To test out the compiler setup I compiled a simple example.
When I ran the compiled .exe file it gave me the following error:
Could not check out a license for CPP_Math_Library
It turns out it was searching the wrong path and was finding the license for the non-demo version of MATLAB that I also have installed on my machine. I fixed this path and the executable ran fine. However, it concerned me that the executable required a license file to run. Also, it seems I am missing the MGLINSTALLER that is used when distributing my stand-alone application.
Best Answer