No appropriate method, property, or field 'localizedError' for class 'simulinki​o.arduinoi​oserver'.

1 view (last 30 days)
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

Answers (1)

Chetan
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:
  • 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.
Thank you,
Chetan Verma

Tags

Products

Community Treasure Hunt

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

Start Hunting!