MATLAB Answers

problem while using serial port in simulink

12 ビュー (過去 30 日間)
Rajat Patel
Rajat Patel 2019 年 9 月 30 日
回答済み: Charan Jadigam 2020 年 3 月 26 日
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

  0 件のコメント

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

回答 (1 件)

Charan Jadigam
Charan Jadigam 2020 年 3 月 26 日
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.

  0 件のコメント

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

タグ

製品


リリース

R2010b

Translated by