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?

2 次查看(过去 30 天)
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.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Arduino Hardware 的更多信息

产品


版本

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by