Code covered by the BSD License  

Highlights from
SimEvents Entity Animation in 3D

5.0

5.0 | 1 rating Rate this file 15 Downloads (last 30 days) File Size: 22.39 KB File ID: #31249
image thumbnail

SimEvents Entity Animation in 3D

by Saurabh Mahapatra

 

29 Apr 2011 (Updated 06 May 2011)

Basic infrastructure S-Function for hooking up a SimEvents model to Simulink 3D Animation

| Watch this File

File Information
Description

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.

Required Products SimEvents
Simulink
Simulink 3D Animation
MATLAB release MATLAB 7.11 (2010b)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
07 Oct 2011 Mr Smart  
Please login to add a comment or rating.
Updates
04 May 2011

Changed release from 11a to 10b

05 May 2011

Changed PRO to PROTO for technical accuracy

06 May 2011

Modified description to add more info.

Tag Activity for this File
Tag Applied By Date/Time
simevents Saurabh Mahapatra 04 May 2011 15:39:06
simulink Saurabh Mahapatra 04 May 2011 15:39:06
3d Saurabh Mahapatra 04 May 2011 15:39:06
animation Saurabh Mahapatra 04 May 2011 15:39:06
virtual Saurabh Mahapatra 04 May 2011 15:39:06
reality Saurabh Mahapatra 04 May 2011 15:39:06
assembly Saurabh Mahapatra 04 May 2011 15:39:06
line Saurabh Mahapatra 04 May 2011 15:39:06
factory Saurabh Mahapatra 04 May 2011 15:39:06
automation Saurabh Mahapatra 04 May 2011 15:39:06
discrete Saurabh Mahapatra 04 May 2011 15:39:06
event Saurabh Mahapatra 04 May 2011 15:39:06
simulation Saurabh Mahapatra 04 May 2011 15:39:06

Contact us at files@mathworks.com