![](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.
10 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Sutanu Maiti
2021-8-5
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 个评论
Sutanu Maiti
2021-12-13
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++
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Android Devices 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!