App codes compiled in C++ shared library got error "Invalid license key"
2 views (last 30 days)
Show older comments
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 Comments
Answers (0)
See Also
Categories
Find more on C Shared Library Integration in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!