Clear Filters
Clear Filters

Error with Simulink and Samsung Galaxy Tab

2 views (last 30 days)
Nicolas
Nicolas on 26 Oct 2015
Commented: Alessio Conte on 19 Nov 2018
*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

Answers (1)

saras
saras on 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 Comment
Alessio Conte
Alessio Conte on 19 Nov 2018
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?

Sign in to comment.

Products

Community Treasure Hunt

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

Start Hunting!