Including function pragma results in compiler version error
1 次查看(过去 30 天)
显示 更早的评论
I have compiled a MATLAB appplication (App Designer 2019b) on a Linux platform. I test the code on a different Linux platform where version 9.7 of the MATLAB Runtime Installer is installed. Some of the code is using the output from the Classification Toolbox. By running the compiled code on the independent linux based platform, it showed that instances of the Classification object could not be loaded. The rest of the program works fine.
To solve this issue, I have followed some of the advice I could find here. Therefore, I have included a function pragma to helping the compiler to find all the dependencies of the Classification Object needed to function properly.
As soon as I test the code where I have included the function pragma, I receive the following error through the Linux terminal:
The installed MATLAB Runtime is not compatible with the application. Reinstall the application or get MATLAB Runtime from www.mathworks.com.
When I remove the lines of code that included the %#function everything works fine again.
What am I doing wrong?
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!