필터 지우기
필터 지우기

how can i send datas(rea-time ,get from udp communication) from the workspace to simulink while the simulation is on?

조회 수: 2 (최근 30일)
hi ,everybody there
I want to send sensors datas in the matlab workspace derieved from udp communication to simulink model ,to achive real-time simulation .How can i do it?
My final puppose is to let the robot model in simulink to move real-time according to the data read from udp .
If i store the datas in buffer for 1s (for example),then terminate the simulation and updata datas to the simulink ,what i need to do and by how ?This is essentially off-line simulation .
Many thanks..

채택된 답변

tq yu
tq yu 2019년 6월 13일
Has been solved ,thanks
  댓글 수: 1
Wilian Guaman
Wilian Guaman 2022년 9월 13일
Hello, how did you solve the problem?
I am trying to run a simulation in simulink and take data that is updated in a scrypt while running the simulation but I have not succeeded, I would be very helpful your experience solving the problem.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Simscape Multibody에 대해 자세히 알아보기

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by