App codes compiled in C++ shared library got error "Invalid license key"

3 ビュー (過去 30 日間)
Qiya Shu
Qiya Shu 2021 年 7 月 20 日
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 件)

カテゴリ

Help Center および File ExchangeC Shared Library Integration についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by