How to access simulating values during simulation

조회 수: 1 (최근 30일)
Diwakar boya
Diwakar boya 2021년 1월 25일
댓글: Diwakar boya 2021년 1월 29일
How to acess simulating values during simulation to send them to a matalb function block

채택된 답변

Shubham Rawat
Shubham Rawat 2021년 1월 29일
Hi Diwakar,
You may use port value label by right clicking the connection to the MATLAB function block. By this option you can only view the values during simulation but to log them you need to enable data logging in the model configuration parameters.
You may use this link for logging:
Hope this Helps!
  댓글 수: 1
Diwakar boya
Diwakar boya 2021년 1월 29일
thanks for the answer,but I want to run the both animation and simulation at a time using the values from simulation and feeding them to matlfunction which has a proogram to animate or plot but i am getting an output of overlaped figures instead of an animation....can you please solve this problem.I tries clearing the figure but it is creating a flickering .

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

추가 답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by