I'm trying to Receive data Using "Serial Receive" block from Instrument Control toolbox.
I want to run it in real time mode because I want to receive data from a virtual COM (from proteus) but I got an error:
"Level-2 MATLAB S-function 'sserialrb' in 'virtual_world/Serial Receive' specifies 'SetSimViewingDevice(true)' , which prevents an output port from being created for the S-function."
I found a post about it but it wasn't mentioned how to fix this.
Is there any solution for it? and if not, is there any alternative solution that I can use to receive data in real time mode?
Thanks in advance.