![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/703517/image.png)
For deep learning, the simulation target language must be set to C++? I believe that I have set it properly.
21 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
When I tried to run the model form https://www.mathworks.com/help/releases/R2021a/supportpkg/android/ref/detect-and-track-objects-using-deep-learning-on-android-device.html, a deep learning model on android device, the diagnostic viewer kept prompting that "For deep learning, the simulation target language must be set to C++.", but I do set it. What is the wrong with it?![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/688548/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/688548/image.png)
0 commentaires
Réponses (1)
Sutanu Maiti
le 5 Août 2021
Please set it as shown in below image:
(You also search by "SimTargetLang" on the search bar at the top of config set..)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/703517/image.png)
1 commentaire
Sutanu Maiti
le 13 Déc 2021
If you still observe this error even after setting "SImulation Target" to C++, then please ensure MEX is configured for C++ language compilation. To do that please execute below command in MATLAB and follow on screen instructions:
>> mex -setup C++
Voir également
Catégories
En savoir plus sur Android Devices dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!