Error reading analog input from arduino in simulink

3 vues (au cours des 30 derniers jours)
Abena Darko
Abena Darko le 9 Avr 2020
Commenté : Arun Kumar le 11 Juin 2020
Hi, I've been trying to read analog input from my arduino using models I created in simulink. I have downloaded and installed the arduino hardware support package. However, whenever I run the simulation from the hardware tab, I get this error;
Simulation 1
10:07 PM Elapsed: 1 sec
Index exceeds the number of array elements (0).
Component:Simulink | Category:Model error
I can't seem to figure out what's wrong. Can anyone help please?
  1 commentaire
Arun Kumar
Arun Kumar le 11 Juin 2020
Hi Abena,
Can you share a screenshot of the model.

Connectez-vous pour commenter.

Réponses (0)

Catégories

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

Produits


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by