SimEvents Entity Animation in 3D

Basic infrastructure S-Function for hooking up a SimEvents model to Simulink 3D Animation
982 descargas
Actualizado 1 sep 2016

Ver licencia

The demo uses one possible implementation of hooking up a SimEvents model with 3D animation using Simulink 3D Animation.
A simple model of an entity generation is created in SimEvents. This entity generation is sampled in time to establish synchronism between the 3D objects created dynamically inside the Simulink 3D Animation environment and the SimEvents model.

The attribute functions are used to randomly select the color of the balls thereby modeling two dimensional randomized events in the system (entity generation and their color in time)

The 3D spheres that are created on the "fly" uses the PROTO definitions of similar objects contained in the "vrmarkers.wrl" file that ships with Simulink 3D Animation.
These objects can be replaced with more complex objects such as luggage, machine parts etc. Also, the velocity of the balls is the same for all to maintain homogeneity. This is a parameter that can be modified in the S-Function.

Citar como

Simulink Dude (2024). SimEvents Entity Animation in 3D (https://www.mathworks.com/matlabcentral/fileexchange/31249-simevents-entity-animation-in-3d), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2010b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Simulation en Help Center y MATLAB Answers.

Community Treasure Hunt

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

Start Hunting!
Versión Publicado Notas de la versión
1.4.0.1

Updated license

1.4.0.0

Modified description to add more info.

1.3.0.0

Changed PRO to PROTO for technical accuracy

1.2.0.0

Changed release from 11a to 10b

1.0.0.0