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

1 次查看(过去 30 天)
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.

采纳的回答

Ameer Hamza
Ameer Hamza 2018-4-26
you can use this block to directly get data from COM port to Simulink simulation.
  2 个评论
bayram özmen
bayram özmen 2018-4-26
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 2018-4-27
What is your question? Do you want to know how to process the serial data?

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Modeling 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by