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

saras
saras 2017년 7월 17일
편집: saras 2017년 7월 17일
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.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Android Devices에 대해 자세히 알아보기

제품

질문:

2017년 7월 14일

댓글:

2017년 7월 17일

Community Treasure Hunt

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

Start Hunting!

Translated by