Use serial receive port arduino ??
2 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
回答(1 个)
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.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 MATLAB Support Package for Arduino Hardware 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!