Can't use serial send with arduino uno board
2 ビュー (過去 30 日間)
古いコメントを表示
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:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/152039/image.png)
I already tested this on another laptop and got the same result.
0 件のコメント
回答 (2 件)
Madhu Govindarajan
2015 年 11 月 23 日
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.
0 件のコメント
ErfanH
2019 年 3 月 14 日
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
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Arduino Hardware についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!