Can't use serial send with arduino uno board

1 Ansicht (letzte 30 Tage)
Eduardo
Eduardo am 20 Nov. 2015
Beantwortet: ErfanH am 14 Mär. 2019
I'm trying to create a simple model that reads data from an arduino by using the 'Serial Receive' block, but whenever I try to select a port and apply changes I get the following error:
I already tested this on another laptop and got the same result.

Antworten (2)

Madhu Govindarajan
Madhu Govindarajan am 23 Nov. 2015
I got the same error when trying to use Serial Send which is from the Instrument Control Toolbox, however it went away when I used the Serial Transmit block from Simulink support package for Arduino. I think this is an expected behavior.

ErfanH
ErfanH am 14 Mär. 2019
you should disconnect your arduino first then close the simulink and matlab
then re open matlab and connect the arduino to the pc then open the simulink then you can use the block without any problem

Kategorien

Mehr zu Arduino Hardware finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by