- Confirm that you are using the Programming port on your Arduino Duo. The Programming port is the correct one for external mode communication.
- Switch your Simulink model to external mode. Detailed instructions for setting up and running your model on Arduino Mega 2560 hardware can be found on the following page, and these instructions also apply to the Arduino Duo for external mode operations.
No appropriate method, property, or field 'localizedError' for class 'simulinkio.arduinoioserver'.
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi
Facing issues like discountinuety in algebric loops.
caused by : No appropriate method, property, or field 'localizedError' for class 'simulinkio.arduinoioserver'.
as given in diagnostics window..
kindly suggest the direction to resolve this issue
댓글 수: 0
답변 (1개)
Chetan
2024년 2월 29일
Based on the error code shared I understand that you are experiencing difficulties while trying to run your Simulink model in external mode with an Arduino Duo board. It appears that there is a mismatch in the connection mode between Simulink and the Arduino hardware.
The model seems to be set to 'connected IO' mode, which should instead be in 'external' mode for the operations you are attempting to perform.
To help resolve this issue, please follow these steps:
The instructions for running external mode on Arduino hardware can be found here: https://www.mathworks.com/help/releases/R2018b/supportpkg/arduino/ug/tune-and-monitor-model-running-on-arduino-mega-2560-hardware.html
Thank you,
Chetan Verma
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!