Matlab and Simulink Serial Communication
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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!
0 Kommentare
Antworten (0)
Siehe auch
Kategorien
Mehr zu Direct Interface Communication in Simulink finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!