필터 지우기
필터 지우기

Including function pragma results in compiler version error

조회 수: 3 (최근 30일)
Henk-Jan Ramaker
Henk-Jan Ramaker 2020년 4월 29일
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개)

카테고리

Help CenterFile Exchange에서 MATLAB Compiler에 대해 자세히 알아보기

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by