Real-time 2D animation in SIMULINK

I am currently running a SIMULINK model that can generate position data of an object on real-time, Nevertheless, I want to be able not just to plot the (x, y) position coordiantes (as in SIMULINK Data Inspector or XY graph) but I also want to show the orientation of the object at the same time on the same display figure.
I was able to do this on Matlab by using the getframe() and movie() functions, but I do not know how to create a similar object in SIMULINK on real-time.
If you can provide me a roadmap to the solution with my current tools it would be of great help.
Thank you in advance for your assistance and I hope to get your feedback ASAP.
Best regards

Answers (0)

Categories

Products

Release

R2020a

Asked:

on 4 Mar 2022

Community Treasure Hunt

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

Start Hunting!