EV3 WiFi connection with Simulink fails
1 回表示 (過去 30 日間)
古いコメントを表示
Hello:
I am trying to connect a EV3 via WiFi in order to use Matlab and Simulink. My computer is a laptop running Ubuntu Mate, I use Matlab R2016b, and the wifi dongle is a Netgear 300; the EV3 is connected to my home router and is reachable with a ping. I download the add-ons for Matlab and Simulink, then I connect to the EV3 using legoev3 function and it goes ok, even I can play a beep. But if I try to download a Simulink model to the robot via WiFi, I get this error:
=== Build (Elapsed: 24 sec) === ### Starting build procedure for model: pruebawifi Error:/home/anita/Documents/MATLAB/SupportPackages/R2016b/3P.instrset/ev3sourcerylite.instrset/arm-2009q3/bin/arm-none-linux-gnueabi-gcc -c -MMD -MP -MF"pruebawifi.dep" -MT"pruebawifi.o" -O0 -I/home/anita/Documents/MATLAB/SupportPackages/R2016b/3P.instrset/ev3sourcerylite.instrset/arm-2009q3/arm-none-linux-gnueabi/libc/usr/include -I/home/anita/Documents/MATLAB/SupportPackages/R2016b/3P.instrset/ev3sourcerylite.instrset/arm-2009q3/lib/gcc/arm-none-linux-gnueabi/4.4.1/include -I/home/anita/Documents/MATLAB/SupportPackages/R2016b/3P.instrset/ev3sourcerylite.instrset/arm-2009q3/lib/gcc/arm-none-linux-gnueabi/4.4.1/include-fixed -I/home/anita/Documents/MATLAB/SupportPackages/R2016b/3P.instrset/ev3sourcecode_lms2012.instrset/EV3Source -I/home/anita/Documents/MATLAB/SupportPackages/R2016b/3P.instrset/ev3sourcecode_lmstypes.instrset/EV3Source -I/home/anita/Documents/MATLAB/SupportPackages/R2016b/3P.instrset/ev3sourcecode_bytecodes.instrset/EV3Source -c -nostdinc -DMODEL=pruebawifi -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DUNIX -DONESTEPFCN=1 -DTERMFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DEXIT_FAILURE=1 -DEXTMODE_DISABLEPRINTF -DEXTMODE_DISABLETESTING -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DRT -DSTACK_SIZE=64 -DONESTEPFCN=1 -DTERMFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DEXIT_FAILURE=1 -DEXTMODE_DISABLEPRINTF -DEXTMODE_DISABLETESTING -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DRT -DSTACK_SIZE=64 -DMODEL=pruebawifi -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DUNIX -I/home/anita/Documents/MATLAB/SupportPackages/R2016b/toolbox/target/supportpackages/ev3/include -I/usr/local/MATLAB/R2016b/simulink/include/sf_runtime -I/home/anita/DATOS/DATOSRSYNC/docencia/ConcursoProdel2017/pruebawifi_ert_rtw -I/home/anita/DATOS/DATOSRSYNC/docencia/ConcursoProdel2017 -I/usr/local/MATLAB/R2016b/extern/include -I/usr/local/MATLAB/R2016b/simulink/include -I/usr/local/MATLAB/R2016b/rtw/c/src -I/usr/local/MATLAB/R2016b/rtw/c/src/ext_mode/common -I/usr/local/MATLAB/R2016b/rtw/c/ert -I/home/anita/Documents/MATLAB/SupportPackages/R2016b/toolbox/target/supportpackages/ev3/registry/../include -I/home/anita/Documents/MATLAB/SupportPackages/R2016b/3P.instrset/ev3sourcecode_lmstypes.instrset/EV3Source/../ -I/home/anita/Documents/MATLAB/SupportPackages/R2016b/3P.instrset/ev3sourcecode_lms2012.instrset/EV3Source/../ -I/home/anita/Documents/MATLAB/SupportPackages/R2016b/3P.instrset/ev3sourcecode_bytecodes.instrset/EV3Source/../ -I/usr/local/MATLAB/R2016b/toolbox/target/codertarget/rtos/inc -I/home/anita/Documents/MATLAB/SupportPackages/R2016b/toolbox/target/supportpackages/ev3/src -o "pruebawifi.o" "pruebawifi.c" /bin/sh: 1: /home/anita/Documents/MATLAB/SupportPackages/R2016b/3P.instrset/ev3sourcerylite.instrset/arm-2009q3/bin/arm-none-linux-gnueabi-gcc: not found gmake: * [pruebawifi.o] Error 127 ### Build procedure for model: 'pruebawifi' aborted due to an error. Error:Error(s) encountered while building "pruebawifi": ### Failed to generate all binary outputs.
I have checked that the file arm-none-linux-gnueabi-gcc is stored in that path. I have also tried to run Matlab as superuser, in case the error was due to wrong permissions, but that does not work either.
I have read that the problem is in the firmware and I should try and older version. Is that true? Where could I get the 1.08 or 1.06 versions? The only one I have found is 1.03, and I think that is too old.
Thanks a lot in advance for your help. Kind regards, Ana+
0 件のコメント
回答 (2 件)
mt nguyen
2018 年 4 月 19 日
hi , With R2014 1.03 or .06 are fine for my ev3. Don't hesitate to test because I have struggle a lot until finding out that firmware compatibility is the root cause (not the same compatibility for matlab or simulink !)
With R2018 1.03 is still fine. I has experienced some error with new feature from R2018 package such as beacon heading value, may be that come from the version Best regards
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Simulink Functions についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!