- MATLAB Graphics: https://www.mathworks.com/help/matlab/graphics.html
- Animation: https://www.mathworks.com/help/matlab/animation-1.html
- Simevents: https://www.mathworks.com/help/simevents/index.html
- Create Custom Visualizations: https://www.mathworks.com/help/simevents/create-custom-visualization-simulation.html
- SimulationObserver: https://www.mathworks.com/help/simevents/ref/simevents.simulationobserver-class.html
- MATLAB function block: https://www.mathworks.com/help/simulink/slref/matlabfunction.html
how to animate a DES system in simulink
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
hello
i have seen these two examples
provided from matlab:
Modeling Hybrid Systems - Tank Filling
https://au.mathworks.com/help/simevents/ug/modeling-hybrid-systems-tank-filling.html
and
Using Custom Visualization for Entities
both of them are animating the system and the entity movement from one server to another.
am new to simulink and i was wondering if there is a detailed vidoe or manual on how to implement similar work
Thank you
0 comentarios
Respuestas (1)
Jaynik
el 12 de Dic. de 2023
Hi Mohammed,
I understand that you want to animate systems in Simulink.
To start with animations, you can explore and understand the basics of MATLAB Graphics and Animation. Then you can start exploring the code from the example of “Using Custom Visualization for Entities”. You can directly get the example with this command:
openExample('simevents/CustomVisualizationExample')
Once you understand the graphics and animation part, you can move on to the Simulink “simevents” part. To create such custom visualizations, you first need to create custom observers using the “simevents.SimulationObserver” object. You can then create a callback function or use a MATLAB function block to call your animation from Simulink.
You can read more about these blocks here:
Hope this helps!
Regards,
Jaynik
0 comentarios
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!