App codes compiled in C++ shared library got error "Invalid license key"
3 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で C Shared Library Integration についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!