Arduino communication over serial

I am getting the error "Simulink cannot upload data to FOOBAR because it has no input ports".
I am trying to send a constant signal to an Arduino Uno. I am trying to replicate the behavior of a matlab script that cannot be used because I'm using External Mode. The script controls the arduino fine using fopen and fwrite but I do not understand how to implement this correctly using blocks
'serial configuration' and 'serial send'.

Réponses (0)

Catégories

Produits

Question posée :

le 16 Oct 2013

Community Treasure Hunt

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

Start Hunting!

Translated by