App codes compiled in C++ shared library got error "Invalid license key"
    3 visualizaciones (últimos 30 días)
  
       Mostrar comentarios más antiguos
    
I would use a function file from a Matlab App called "QuickerSim CFD Toolbox" in my C++ programm.
The source function is protected in a p-file. I had the license for this App, so that when runing this function in Matlab, it's totally fine.
But when I package/compile this function into a C++ shared library using "library compiler", it is transformed into .h and .so file. Then using Matlab Runtime to call the function, it terminates with the error "Error using XXX(name of the function)  Invalid license key".
Is it possible to package a licensed function file in a shared library for other programms to call?
If so, what do I missed? Or how can Matlab Runtime recognize the lisence I had for this Matlab App?
Appreciate any helps a lot!
0 comentarios
Respuestas (0)
Ver también
Categorías
				Más información sobre C Shared Library Integration en Help Center y File Exchange.
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
