Error with Simulink and Samsung Galaxy Tab

3 次查看(过去 30 天)
*I have been trying to implement a simple conexion between the Samsung Galaxy Audio Capture block and the playback block, but when I try to deploy to hardware appears the next error message:
The call to realtime_make_rtw_hook, during the after_make hook generated the following error: Cannot read file untitled\\AndroidManifest.xml.
The build process will terminate as a result.
Cannot read file untitled\\AndroidManifest.xml.
*I have some experience in Android Studio and I tried to search the file AndroidManifest.xml but I don´t know where is it.
Thanks for your help

回答(1 个)

saras
saras 2015-11-3
I would suggest to remove the project folder from disk and re-deploy the model.
What version of MATLAB are you using?
  1 个评论
Alessio Conte
Alessio Conte 2018-11-19
Hello Sara. I have MATLAB R2018b.
  • I have the simulink support package for android devices correctly installed
  • I followed the guided procedure to install Android Studio and all the tools.
  • When i try to build the Simulink model to my device I get the error:
Cannot read file filename C:\Users\User\Desktop\Examples\MotoObjectDetection_ert_rtw\MotoObjectDetection\src\main\AndroidManifest.xml
  • Two new folders are created inside my working folder:
  • MotoObjectDetection_ert_rtw
  • slprj
When I try to re-build again evrething works fine and the app is deployed to the hardware.
How can I work around this problem?

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Modeling 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by