MATLAB Arduino Uno Simulink doesn't have option for Connected IO Mode

1 Ansicht (letzte 30 Tage)
Hello;
I'm trying to use Simulink to get input from Beckhoff TwinCAT (reading an EtherCAT sensor) and then output it to an Arduino as a set of PWM waves (to control some coil currents). To do this, I'm trying to link the TwinCAT integration to the Simulink Support Package for Arduino Hardware on MATLAB R2021a on a laptop running MATLAB R2021a; however, I don't see the option to switch the mode to Connected IO in the top Hardware bar. I have tried enabling Connected IO in the hardware settings for the Arduino Uno on Simulink, but the option is still not showing up.
Is there something else I am missing?
  3 Kommentare
Nadeem
Nadeem am 7 Aug. 2024
I am, but there is no option to switch Mode to Connected IO.
Nadeem
Nadeem am 7 Aug. 2024
For reference, here's what my top bar looks like. There should be a MODE area between HARDWARE BOARD and PREPARE, but there isn't.

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Abhinav Aravindan
Abhinav Aravindan am 13 Aug. 2024
Hi Nadeem,
I understand that you are trying to use Normal Mode Simulation using Connected I/O with an Arduino Uno board but unable to find the “Mode” section in the “Hardware” tab. Enabling the “Connected I/O” option in “Target hardware resources” section is the prescribed step according to the documentation of MATLAB R2021a.
The “Mode” section in the “Hardware” tab appears to be introduced in MATLAB R2021b and hence is not present when you are trying to enable “Connected I/O”.
Hope this helps resolve your query!

Weitere Antworten (0)

Kategorien

Mehr zu Arduino Hardware finden Sie in Help Center und File Exchange

Produkte


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by