Clear Filters
Clear Filters

2D Animation of SimEvents

9 views (last 30 days)
Chi Wai Wong
Chi Wai Wong on 3 Jun 2022
Commented: Chi Wai Wong on 8 Jun 2022
Hi All,
I am new to Matlab and recently joined because of the interest of discrete event simulation.
I have found an interesting video in the MATLAB youtube channel.
Does anyone know the 2D animation in the video starting from 1:37 that is belong to the function of Simulink or that is linked to another software to play the animation?
Any keywords you could suggest for me to study for this 2D animation simulation?
Thank you

Accepted Answer

Dhanush Yeddula
Dhanush Yeddula on 8 Jun 2022
I understand that you wanted to know about the 2D animation that is shown in the video.
The example that is shown in the video is available at below MathWorks documentation link:
This example uses Model Animation Video for viewing and interacting. To view and interact with the model using animation, click the switch on the 'Animation Switch' block. Clicking the switch 'On' opens the 'Hematology Diagnostic Instrument' window. If you do not use model animation, the example runs until the end.
Creating a Model Animation Video:
You can create a model animation video interactively, using the Video Creator tool, or programmatically, using the smwritevideo function. The tool and function provide equivalent ways to perform the same task. Use the tool to configure and create a video more intuitively. Use the function for your command-line workflows, e.g., to automate video capture following model simulation.
You can find the complete details of creating a model animation video in the below link:
  1 Comment
Chi Wai Wong
Chi Wai Wong on 8 Jun 2022
Thank you Dhanush. The informaiotn really help myself at this starting stage. Really apprecaited.

Sign in to comment.

More Answers (0)

Categories

Find more on Simulation in Help Center and File Exchange

Products


Release

R2022a

Community Treasure Hunt

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

Start Hunting!