Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

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

1 Ansicht (letzte 30 Tage)
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?

Antworten (0)

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by