Simulink Real-Time with RS-232 (receiving data)

6 ビュー (過去 30 日間)
Jeet panchal
Jeet panchal 2019 年 3 月 19 日
編集済み: Stefanie Schwarz 2023 年 4 月 27 日
I would like to model a Simulink project where my data is coming from RS232 (UART to USB) to MATLAB Simulink Real-Time model.
I would like to see the data passed on through my UART on a scope.
I have used baseboard RS232 parameter group is Board setup(com1/none).
Using MATLAB function ( DC = fcn(u)) and passing the u value directly to scope.
I am getting errors while building the project("External mode open protocol connect command failed").
Please find the attachments regarding error and my simulation below.

採用された回答

Akshay Khadse
Akshay Khadse 2019 年 3 月 28 日
編集済み: Stefanie Schwarz 2023 年 4 月 27 日
Please run the following command in the MATLAB Command Window to verify the Simulink Real Time installation for R2020a and earlier:
>> slrttest
Please refer the following documentation page for more information on this command:
Please check if your PCI settings are specified as recommended in the following MATLAB Answers page:

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeTarget Computer Setup についてさらに検索

製品


リリース

R2016a

Community Treasure Hunt

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

Start Hunting!

Translated by