MATLAB Answers


Use serial receive port arduino ??

Asked by AFETTOUCHE Massinissa on 11 Feb 2019 at 9:14
Latest activity Commented on by AFETTOUCHE Massinissa on 14 Feb 2019 at 12:18
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


Sign in to comment.

1 Answer

Answer by Walter Roberson
on 11 Feb 2019 at 14:19

code cannot be generated for the serial receive block so you can only use it with rapid acceleration turned off.

  1 Comment

thank you Sir, i will try one more time.

Sign in to comment.