Clear Filters
Clear Filters

Matlab and Simulink Serial Communication

2 views (last 30 days)
Sofia Cecchini
Sofia Cecchini on 12 Mar 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!

Answers (0)

Categories

Find more on Direct Interface Communication in Simulink in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!