Use serial receive port arduino ??

2 ビュー (過去 30 日間)
AFETTOUCHE Massinissa
AFETTOUCHE Massinissa 2019 年 2 月 11 日
Hello everybody,
I'm tying to receive data from arduino uno equiped with a sheild seed studio and when i use the serial receive block to recover the data it returns to me this error :
Level-2 MATLAB S-function 'sserialrb' in 'untitled/Serial Receive' specifies 'SetSimViewingDevice(true)' , which prevents an output port from being created for the S-function.
then I wish to inderstand if there is an S-function to declare before excuting the similink program

回答 (1 件)

Walter Roberson
Walter Roberson 2019 年 2 月 11 日
code cannot be generated for the serial receive block so you can only use it with rapid acceleration turned off.
  1 件のコメント
AFETTOUCHE Massinissa
AFETTOUCHE Massinissa 2019 年 2 月 14 日
thank you Sir, i will try one more time.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeMATLAB Support Package for Arduino Hardware についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by