Why do I receive error when I run a simulation on Simulink with a PIL block for Arduino Mega and gives that there is no connection with the Arduino board?

1 view (last 30 days)
Amin Asham
Amin Asham on 30 May 2018
Commented: elio zaccgnino on 17 Jan 2022
I tried to run the example "Arduino_PIL_Block"(attached). I created the PIL block and located in the model as shown:
When I started the simulation in "Normal" mode I get the following error:
  • Noting that I have no problem when I remove the PIL block and run the model in external mode or deploy the controller to the board after cancelling PIL creation.
  • My MATLAB is 2017b 64bit and my OS is Windows 7 64bit.

Answers (0)




Community Treasure Hunt

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

Start Hunting!