Getting Started with Android Simulink can communicate, but not compile

I have installed the Simulink Support Package for Android Devices version 17.1.0 on a Dell computer running Windows 10, and Matlab R2017a - academic use. The support package has successfully installed, and I have followed the steps to verify communication with my LG V20 android device through the targetupdater tool. However, when i attempt to then move on to the examples, I am unable to compile even the simplest Simulink model. I have attempted to connect a Camera block to a Video Display block, and an Accelerometer to a Scope. I go to "Model Configuration Parameters", select "Android Device" in the Hardware tab, and in "Target Hardware Resources", "Device options" my device model (VS995 : VS99584f590a0) is accurately displayed. I then attempt to deploy to hardware, but this results in the issue: "Icc64.exe has stopped working" followed by the following message in the Diagnostic Viewer:
### Starting build procedure for model: test3
Code Generation 1
Elapsed: 11 sec
### Build procedure for model: 'test3' aborted due to an error.
Problem creating simulation target MEX-file for model 'test3'.
Component:Simulink | Category:Block diagram error
Error(s) encountered while building simulation target for model 'test3'.
Caused by:
C:\Matlab_Programs\ComTest\slprj\_cgxe\test3\src>"C:\Program Files\MATLAB\R2017a\sys\lcc64\lcc64\bin\lccmake.exe" -f test3_cgxe.lmk
"C:\Program Files\MATLAB\R2017a\sys\lcc64\lcc64\bin\lcc64.exe" -dll -noregistrylookup -c -Zp8 -DLCC_WIN64 -DMATLAB_MEX_FILE -DMX_COMPAT_32 -nodeclspec -I"C:\Program Files\MATLAB\R2017a\sys\lcc64\lcc64\include64" -I"C:\Program Files\MATLAB\R2017a\extern\include" -I"C:\Program Files\MATLAB\R2017a\simulink\include" -I"C:\Program Files\MATLAB\R2017a\rtw\c\src" "C:\Program Files\MATLAB\R2017a\sys\lcc64\lcc64\mex\lccstub.c"
C:\Program Files\MATLAB\R2017a\sys\lcc64\lcc64\bin\lccmake.exe: Error code 255
I have ensured that my saved file folders do not have any spaces in them C:\ComTest\test1 and I have ensured that the files are added to the path, and that my phone is on and unlocked. Anything to help me be able to move forward with this project would be greatly appreciated!
Thank you, George Peterson

2 comentarios

saras
saras el 17 de Jul. de 2017
Editada: saras el 17 de Jul. de 2017
It looks like this may be an issue with the lcc-win64 compiler. Can you try using MinGW?
You can access it here
Thank you. I have installed the MinGW compiler, and now the program is running.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Android Devices en Centro de ayuda y File Exchange.

Productos

Etiquetas

Preguntada:

el 14 de Jul. de 2017

Comentada:

el 17 de Jul. de 2017

Community Treasure Hunt

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

Start Hunting!

Translated by