MATLAB Answers

Simulink Real time with RS-232 (receiving data)

10 views (last 30 days)
Jeet panchal
Jeet panchal on 19 Mar 2019
Answered: Akshay Khadse on 28 Mar 2019
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.

  0 Comments

Sign in to comment.

Answers (1)

Akshay Khadse
Akshay Khadse on 28 Mar 2019
Please run the following command in the MATLAB Command Window to verify the Simulink Real Time installation:
>> 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 Comments

Sign in to comment.