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 vues (au cours des 30 derniers jours)
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.
  2 commentaires
elio zaccgnino
elio zaccgnino le 17 Jan 2022
I have the same problem. Do you know if this example works with Arduino Uno Board?
Thanks in advance
Azizhan
Azizhan le 30 Mar 2023
Arduino Due works but Mega does not work to me!! Unf, MATLAB does not answer!

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Arduino Hardware dans Help Center et File Exchange

Produits


Version

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by