Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

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

1 vue (au cours des 30 derniers jours)
Ivan Garcia
Ivan Garcia le 6 Mar 2019
Clôturé : Stephan le 6 Mar 2019
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?

Réponses (0)

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by