problem while using serial port in simulink

24 Ansichten (letzte 30 Tage)
Rajat Patel
Rajat Patel am 30 Sep. 2019
Kommentiert: jun am 22 Sep. 2021
hello every one iam using serial receive port block in simulink while trying to read data from serial port i am getting this error message can any explain me what is this and how to solve this the error message is :-
Level-2 MATLAB S-function 'sserialrb' in 'ardled/Serial Receive' specifies 'SetSimViewingDevice(true)' , which prevents an output port from being created for the S-function.
thank you
  1 Kommentar
jun
jun am 22 Sep. 2021
hello,I met the same problem, have you solved it?

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Charan Jadigam
Charan Jadigam am 26 Mär. 2020
Hi,
Unfortunately, Serial receive port block does not support rapid acceleration mode as code generation is not possible. Try in accelerator mode and it would work fine.The concerned developing team have been informed of it and they are looking into it.

Kategorien

Mehr zu Block Libraries finden Sie in Help Center und File Exchange

Produkte


Version

R2010b

Community Treasure Hunt

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

Start Hunting!

Translated by