Matlab (Simulink) support package for Arduinoの設定ができません。

4 Ansichten (letzte 30 Tage)
Shinsuke Okayasu
Shinsuke Okayasu am 29 Okt. 2019
Beantwortet: Shinsuke Okayasu am 30 Okt. 2019
何度かArduinoが接続できないという旨の質問をして、回答をいただいていますが今田に解決に至っていません。
Support packageを再インストールして設定をしているのですが、下記エラー,logが表示されてます。
Arduino IDE(Version 1.9.0 Beta)上からはLEDを光らせることができるので、Matlabとの接続が問題だと考えています。
Mac(10.15)とSupport packageとの相性の問題なのでしょうか? 接続方法をご教示いただけないでしょうか?
スクリーンショット 2019-10-30 5.46.17.png
10 30, 2019 6:58:31 蜊亥燕 com.mathworks.hwservices.logging
諠?蝣ア: 讒区?舌r繝ュ繝シ繝我クュ窶ヲ
繝代ャ繧ア繝シ繧ク繧貞?晄悄蛹紋クュ窶ヲ
繝懊?シ繝峨r貅門y荳ュ窶ヲ
讀懆ィシ荳ュ窶ヲ
/Users/okayasushinsuke/Documents/MATLAB/SupportPackages/R2019b_1/3P.instrset/arduinoide.instrset/Arduino.app/Contents/Java/arduino-builder -dump-prefs -logger=machine -hardware /Users/okayasushinsuke/Documents/MATLAB/SupportPackages/R2019b_1/3P.instrset/arduinoide.instrset/Arduino.app/Contents/Java/hardware -hardware /Users/okayasushinsuke/Documents/MATLAB/SupportPackages/R2019b_1/3P.instrset/arduinoide.instrset/idepkgs/packages -tools /Users/okayasushinsuke/Documents/MATLAB/SupportPackages/R2019b_1/3P.instrset/arduinoide.instrset/Arduino.app/Contents/Java/tools-builder -tools /Users/okayasushinsuke/Documents/MATLAB/SupportPackages/R2019b_1/3P.instrset/arduinoide.instrset/Arduino.app/Contents/Java/hardware/tools/avr -tools /Users/okayasushinsuke/Documents/MATLAB/SupportPackages/R2019b_1/3P.instrset/arduinoide.instrset/idepkgs/packages -built-in-libraries /Users/okayasushinsuke/Documents/MATLAB/SupportPackages/R2019b_1/3P.instrset/arduinoide.instrset/Arduino.app/Contents/Java/libraries -libraries /Users/okayasushinsuke/Documents/Arduino/libraries -fqbn=arduino:avr:mega:cpu=atmega2560 -vid-pid=0X2341_0X0042 -ide-version=10808 -build-path /private/var/folders/vk/vgg_df212sv0xhycyq7wjvc00000gn/T/ArduinoServerMega2560/MW -warnings=none -build-cache /var/folders/vk/vgg_df212sv0xhycyq7wjvc00000gn/T/arduino_cache_198126 -prefs=build.path=/private/var/folders/vk/vgg_df212sv0xhycyq7wjvc00000gn/T/ArduinoServerMega2560/MW -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avrdude.path=/Users/okayasushinsuke/Documents/MATLAB/SupportPackages/R2019b_1/3P.instrset/arduinoide.instrset/Arduino.app/Contents/Java/hardware/tools/avr -prefs=runtime.tools.avrdude-6.3.0-arduino14.path=/Users/okayasushinsuke/Documents/MATLAB/SupportPackages/R2019b_1/3P.instrset/arduinoide.instrset/Arduino.app/Contents/Java/hardware/tools/avr -prefs=runtime.tools.avr-gcc.path=/Users/okayasushinsuke/Documents/MATLAB/SupportPackages/R2019b_1/3P.instrset/arduinoide.instrset/Arduino.app/Contents/Java/hardware/tools/avr -prefs=runtime.tools.avr-gcc-5.4.0-atmel3.6.1-arduino2.path=/Users/okayasushinsuke/Documents/MATLAB/SupportPackages/R2019b_1/3P.instrset/arduinoide.instrset/Arduino.app/Contents/Java/hardware/tools/avr -prefs=runtime.tools.arduinoOTA.path=/Users/okayasushinsuke/Documents/MATLAB/SupportPackages/R2019b_1/3P.instrset/arduinoide.instrset/Arduino.app/Contents/Java/hardware/tools/avr -prefs=runtime.tools.arduinoOTA-1.2.1.path=/Users/okayasushinsuke/Documents/MATLAB/SupportPackages/R2019b_1/3P.instrset/arduinoide.instrset/Arduino.app/Contents/Java/hardware/tools/avr -verbose /private/var/folders/vk/vgg_df212sv0xhycyq7wjvc00000gn/T/ArduinoServerMega2560/ArduinoServer.ino
/Users/okayasushinsuke/Documents/MATLAB/SupportPackages/R2019b_1/3P.instrset/arduinoide.instrset/Arduino.app/Contents/Java/arduino-builder -compile -logger=machine -hardware /Users/okayasushinsuke/Documents/MATLAB/SupportPackages/R2019b_1/3P.instrset/arduinoide.instrset/Arduino.app/Contents/Java/hardware -hardware /Users/okayasushinsuke/Documents/MATLAB/SupportPackages/R2019b_1/3P.instrset/arduinoide.instrset/idepkgs/packages -tools /Users/okayasushinsuke/Documents/MATLAB/SupportPackages/R2019b_1/3P.instrset/arduinoide.instrset/Arduino.app/Contents/Java/tools-builder -tools /Users/okayasushinsuke/Documents/MATLAB/SupportPackages/R2019b_1/3P.instrset/arduinoide.instrset/Arduino.app/Contents/Java/hardware/tools/avr -tools /Users/okayasushinsuke/Documents/MATLAB/SupportPackages/R2019b_1/3P.instrset/arduinoide.instrset/idepkgs/packages -built-in-libraries /Users/okayasushinsuke/Documents/MATLAB/SupportPackages/R2019b_1/3P.instrset/arduinoide.instrset/Arduino.app/Contents/Java/libraries -libraries /Users/okayasushinsuke/Documents/Arduino/libraries -fqbn=arduino:avr:mega:cpu=atmega2560 -vid-pid=0X2341_0X0042 -ide-version=10808 -build-path /private/var/folders/vk/vgg_df212sv0xhycyq7wjvc00000gn/T/ArduinoServerMega2560/MW -warnings=none -build-cache /var/folders/vk/vgg_df212sv0xhycyq7wjvc00000gn/T/arduino_cache_198126 -prefs=build.path=/private/var/folders/vk/vgg_df212sv0xhycyq7wjvc00000gn/T/ArduinoServerMega2560/MW -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avrdude.path=/Users/okayasushinsuke/Documents/MATLAB/SupportPackages/R2019b_1/3P.instrset/arduinoide.instrset/Arduino.app/Contents/Java/hardware/tools/avr -prefs=runtime.tools.avrdude-6.3.0-arduino14.path=/Users/okayasushinsuke/Documents/MATLAB/SupportPackages/R2019b_1/3P.instrset/arduinoide.instrset/Arduino.app/Contents/Java/hardware/tools/avr -prefs=runtime.tools.avr-gcc.path=/Users/okayasushinsuke/Documents/MATLAB/SupportPackages/R2019b_1/3P.instrset/arduinoide.instrset/Arduino.app/Contents/Java/hardware/tools/avr -prefs=runtime.tools.avr-gcc-5.4.0-atmel3.6.1-arduino2.path=/Users/okayasushinsuke/Documents/MATLAB/SupportPackages/R2019b_1/3P.instrset/arduinoide.instrset/Arduino.app/Contents/Java/hardware/tools/avr -prefs=runtime.tools.arduinoOTA.path=/Users/okayasushinsuke/Documents/MATLAB/SupportPackages/R2019b_1/3P.instrset/arduinoide.instrset/Arduino.app/Contents/Java/hardware/tools/avr -prefs=runtime.tools.arduinoOTA-1.2.1.path=/Users/okayasushinsuke/Documents/MATLAB/SupportPackages/R2019b_1/3P.instrset/arduinoide.instrset/Arduino.app/Contents/Java/hardware/tools/avr -verbose /private/var/folders/vk/vgg_df212sv0xhycyq7wjvc00000gn/T/ArduinoServerMega2560/ArduinoServer.ino
Using board 'mega' from platform in folder: /Users/okayasushinsuke/Documents/MATLAB/SupportPackages/R2019b_1/3P.instrset/arduinoide.instrset/Arduino.app/Contents/Java/hardware/arduino/avr
Using core 'arduino' from platform in folder: /Users/okayasushinsuke/Documents/MATLAB/SupportPackages/R2019b_1/3P.instrset/arduinoide.instrset/Arduino.app/Contents/Java/hardware/arduino/avr
Detecting libraries used...
/Users/okayasushinsuke/Documents/MATLAB/SupportPackages/R2019b_1/3P.instrset/arduinoide.instrset/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR -I/Users/okayasushinsuke/Documents/MATLAB/SupportPackages/R2019b_1/3P.instrset/arduinoide.instrset/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino -I/Users/okayasushinsuke/Documents/MATLAB/SupportPackages/R2019b_1/3P.instrset/arduinoide.instrset/Arduino.app/Contents/Java/hardware/arduino/avr/variants/mega /private/var/folders/vk/vgg_df212sv0xhycyq7wjvc00000gn/T/ArduinoServerMega2560/MW/sketch/ArduinoServer.ino.cpp -o /dev/null
fork/exec /Users/okayasushinsuke/Documents/MATLAB/SupportPackages/R2019b_1/3P.instrset/arduinoide.instrset/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++: bad CPU type in executable

Antworten (1)

Shinsuke Okayasu
Shinsuke Okayasu am 30 Okt. 2019
無事に自己解決できました。
mac os 10.14 mojaveに戻して、Matlab, Arduino, support packageを再インストールで以前と同じように動くようです。

Kategorien

Mehr zu MATLAB Mobile finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!