I am having a problem running arduino, I have installed everything too but it wont let me run and monitor and say there is a block from MatLAB host

8 views (last 30 days)
In order to generate code from AsyncIO, the target hardware must be MATLAB Host or a compatible device. The error occurred for MATLAB System block 'Design4/Serial Receive'.

Answers (1)

Arun Kumar
Arun Kumar on 10 Oct 2022
HI Easton,
From the error it looks like you are using blocks that are meant for simulation on host machine to deploy on Arduino hardware which is not supported.
Please use the following block from the "Simulink support package for Arduino hardware":
Hope this helps!

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!