- 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 view (last 30 days)
Show older comments
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 Comments
Answers (1)
Chetan
on 29 Feb 2024
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 Comments
See Also
Categories
Find more on Modeling in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!