MATLAB Answers

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

"Portable C Code Generation for Functions that use OpenCV Library" error on Simulink model using Android support package

조회 수: 1(최근 30일)
Ivan Garcia
Ivan Garcia 2019년 3월 6일
마감: Stephan 2019년 3월 6일
A Simulink model using Android support package blocks and a MATLAB function block using computer vision libraries depending on OpenCV is failing to build because of this error:
"Portable C Code Generation for Functions that use OpenCV Library"
This error takes me to a documentation link that tells me to install Visual Studio 2017 for Windows 64 bits.
I have installed Visual Studio Community 2017 (Version 15.9.7). I am using MATLAB 18b.
When execution "mex -setup C++" in MATLAB I get:
MEX configured to use 'Microsoft Visual C++ 2017' for language compilation.
This looks like a bug because the documentation is recommending me to do something that is already done. Hence no possible action is suggested to fix this.
The above happens in an HP machine. In a Dell Alienware I also tried MATLAB 18b with Visual Studio Community 2017 (Version 15.5.0) and the Simulink model works perfectly. I tried downloading VS 2017 version 15.5.0, but Microsoft does not seem to give you that choice (Always get the latest).
Do you know what could be done to make this work in the HP machine?

답변(0개)

Community Treasure Hunt

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

Start Hunting!

Translated by