Borrar filtros
Borrar filtros

Matlab and Simulink Serial Communication

2 visualizaciones (últimos 30 días)
Sofia Cecchini
Sofia Cecchini el 12 de Mzo. de 2018
Hi everybody!
I need to open a serial COM port on Matlab, receive some data and then communicate on the same COM port in Simulink. However, it seems to be impossible to receive data in simulink since the COM port appears to be occupied by Matlab side.
Is it somewhat possible to receive data during a Simulink simulation from a port which has been already opened and set on matlab? If it is, how could I set this communication?
My idea is to transfer serial configuration information from Matlab workspace to the Simulink model (block?). How could I achieve this goal?
Thanks in advance!

Respuestas (0)

Categorías

Más información sobre Direct Interface Communication in Simulink en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by