How to access simulating values during simulation

1 Ansicht (letzte 30 Tage)
Diwakar boya
Diwakar boya am 25 Jan. 2021
Kommentiert: Diwakar boya am 29 Jan. 2021
How to acess simulating values during simulation to send them to a matalb function block

Akzeptierte Antwort

Shubham Rawat
Shubham Rawat am 29 Jan. 2021
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 Kommentar
Diwakar boya
Diwakar boya am 29 Jan. 2021
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 .

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Simulation 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!

Translated by