How can I simulate with data that is taken from comport?

1 Ansicht (letzte 30 Tage)
bayram özmen
bayram özmen am 26 Apr. 2018
Kommentiert: Ameer Hamza am 27 Apr. 2018
I have a dynamic model and ı wil read the two integer data from comport and then ı should send these data to my simulink model. Also at the same time the simulation should be done.

Akzeptierte Antwort

Ameer Hamza
Ameer Hamza am 26 Apr. 2018
you can use this block to directly get data from COM port to Simulink simulation.
  2 Kommentare
bayram özmen
bayram özmen am 26 Apr. 2018
Yes ı understand. But also ı have one more question. My compart data will be like U 30 40. U uses to understand the data is coming. And ı will take always 2 data. Then ı need to use these data in a inverse kinematik equation after that ı will achieve new 2 data , these 2 data will simulate my simulink model.
Ameer Hamza
Ameer Hamza am 27 Apr. 2018
What is your question? Do you want to know how to process the serial data?

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Modeling finden Sie in Help Center und File Exchange

Tags

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by