![](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 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (1)
Sutanu Maiti
am 5 Aug. 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 Kommentar
Sutanu Maiti
am 13 Dez. 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++
Siehe auch
Kategorien
Mehr zu Android Devices finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!