License Checkout error in standalone application
Afficher commentaires plus anciens
I've been given a bunch of p-code that I'd like to compile into a .dll. I used the matlab compiler from the GUI, I added all the p-code to the project, made sure all matlab toolboxes were on the path and built the .dll by pushing build.
Then I proceeded to program something in C++ in Visual Studio 2010 that will call into the shared library. I had to include the auto-generated header and lib file as well as mclmcrrt.lib from the 64-bit MCR in the visual studio compile.
When I run the result visual studio .exe, I get an error from the matlab compiled .dll that says "Unable to checkout license file for pathManager.p" (a file in my code). Why is this? I thought the point of the MCR was to be able to deploy standalone applications?
I did not write the p-code. Is it possible they used a toolbox that I don't have on my path?
Thanks in advance for any insight.
4 commentaires
Aaron
le 1 Août 2013
Walter Roberson
le 1 Août 2013
Note: after a run (from the MATLAB prompt) you can figure out which toolboxes were used by using
license('inuse')
Aaron
le 1 Août 2013
Aaron
le 1 Août 2013
Réponses (0)
Catégories
En savoir plus sur MATLAB Compiler dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!