SimEvents Entity Animation in 3D
|23 May 2011||Simulink Dude||
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.