MATLAB Answers

0

Error with Simulink and Samsung Galaxy Tab

Nicolas 님이 질문을 제출함. 26 Oct 2015
*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

  댓글 수: 0

로그인 to comment.

답변 수: 1

saras 님의 답변 3 Nov 2015

I would suggest to remove the project folder from disk and re-deploy the model.
What version of MATLAB are you using?

  댓글 수: 1

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?

로그인 to comment.



Translated by