Why can't i start the "androidFa​ceDetectio​nAndTracki​ng"?

5 ビュー (過去 30 日間)
Pietro Ventrella
Pietro Ventrella 2021 年 6 月 12 日
コメント済み: Pietro Ventrella 2021 年 6 月 29 日
I've started the first introductive example of the "Simulink Support Package for Android Devices" succesfully and i've also opened on Android Studio the folder ending with "ert_rtw", seeing all the java files and classes that implements this project.
But when i try to run on my Android Phone this example https://it.mathworks.com/help/supportpkg/android/ref/detect-and-track-face-on-an-android-device.html , i receive this type of error every time, and the folder "androidFaceDetectionAndTracking_ert_rtw" is always empty
Diagnostic Viewer:
Model Action Rebuild Reason =========================================================================================== androidFaceDetectionAndTracking Failed Code generation information file does not exist.
What can i do to solve the issue?
  2 件のコメント
Pietro Ventrella
Pietro Ventrella 2021 年 6 月 14 日
This is a screenshot of what appears in Diagnostic Viewer @Sruthi Yenugula



Sutanu Maiti
Sutanu Maiti 2021 年 6 月 17 日
Can you please try mex setup [>>mex -setup c++] and then build model?
Find more details in below documentation:
  2 件のコメント
Pietro Ventrella
Pietro Ventrella 2021 年 6 月 29 日
I used [>>mex -setup] to select a compiler for the C language, instead of C++ and then the issue was fixed. Thank you for the help


その他の回答 (1 件)

Vimal Rathod
Vimal Rathod 2021 年 6 月 16 日
Few recommendation from myside based on the information you provided.
1) Verify the existance of the file which is to be used for code generation.
2) Check running the code generation by cutshorting the path to the file.
3) Also make sure the folders reaching to the file have proper name without spaces.
Refer to the following link containing similar answer to your question.


Help Center および File ExchangeSimulink Support Package for Android Devices についてさらに検索




Community Treasure Hunt

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

Start Hunting!

Translated by