Get Started with Simulink 3D Animation
Simulink® 3D Animation™ links Simulink models and MATLAB® algorithms to 3D graphics objects in virtual reality scenes. You can animate a virtual world by changing position, rotation, scale, and other object properties during desktop or real-time simulation. You can also sense collisions and other events in the virtual world and feed them back into your MATLAB and Simulink algorithms. Video from virtual cameras can be streamed to Simulink for processing.
Simulink 3D Animation includes editors and viewers for rendering and interacting with virtual scenes. With the 3D World Editor, you can import CAD and URDF file formats as well as author detailed scenes assembled from 3D objects. The 3D world can be viewed immersively using stereoscopic vision. You can incorporate multiple 3D scene views inside MATLAB figures, and interact with the virtual world using a force-feedback joystick, space mouse, or other hardware device. Simulink 3D Animation supports X3D, an ISO standard file format and run-time architecture for representing and communicating with 3D scenes and objects.
- Create World and Actor
Use Simulink and MATLAB to create an actor in a virtual world.
- Build Actor from 3D Graphic Primitives
createShapeto build an actor from a 3D primitive graphic using Simulink and MATLAB.
- Animate Actor with Gravity Property
sim3d.Actorgravity and physics properties to enable reaction forces using Simulink and MATLAB.
- Get Started Creating Virtual World with Actors
sim3dclasses or Simulation 3D blocks to create and interact with virtual world in the Simulation 3D Viewer.
- Build and Connect a Virtual World
Create a simple virtual world and associate it with Simulink blocks.
- Set Simulink 3D Animation Preferences
Change Simulink 3D Animation preference settings.