how to build 3D simulation of a model?

8 次查看(过去 30 天)
Hello,
I'm interested in building 3D model of quadrocopter in Matlab, but I have no idea how to build 3D model in matlab.
My goal is to express my dynamic model and thesis in a simulation model in matlab.
  3 个评论
Kavita Bhagat
Kavita Bhagat 2021-4-5
i want to bulid a 3d design of a room in matlab how is it possible ?
Nishan Nekoo
Nishan Nekoo 2024-1-11
Simulink 3D Animation is a great starting point to build 3D simulations of your model. Starting in R2024a, Simulink 3D Animation contains a suite of basic scenes, actors and sensors that will allow you build 3D simulations using an interface to the Unreal Engine from Epic Games. If you want a domain-specific 3D Simulation such as the quadcopter in your case, use the UAV Toolbox with Simulink 3D Animation to use the Simulation 3D UAV Vehicle, a pre-built asset that you can simulate in Unreal Engine.
@Kavita Bhagat Building a 3D room is possible using the createShape function that is part of the sim3D API and can be used as part of the initialization script of a Simulation 3D Actor by adding primitives such as planes and boxes to form a room. See this example with a platform and the robots encased using primitives.

请先登录,再进行评论。

采纳的回答

Nishan Nekoo
Nishan Nekoo 2024-1-11
编辑:Nishan Nekoo 2024-1-11
Simulink 3D Animation is a great starting point to build 3D simulations of your model. Starting in R2024a, Simulink 3D Animation contains a suite of basic scenes, actors and sensors that will allow you build 3D simulations using an interface to the Unreal Engine from Epic Games. If you want a domain-specific 3D Simulation such as the quadcopter in your case, use the UAV Toolbox with Simulink 3D Animation to use the Simulation 3D UAV Vehicle, a pre-built asset that you can simulate in Unreal Engine

更多回答(1 个)

Jan Danek
Jan Danek 2013-9-4
Hi Martin,
With simulation of quadrucopter, you are perhaps interested in both quadrucopter model itself, and in surrounding scene in which it is supposed to operate.
With Quadrucopter, you can start with a simple representation (2 crossed beams, 4 cylinders, 1 box in the middle to represent batteries/ECU). This can be easily done using Simulink 3D Animation 3D World Editor. The Editor also provides several simple scenes (try "New from template" - Aerodrome_1) in which you can place your Quadrucopter.
Once you are satisfied with the behaviour of the dynamical quadrucopter model (Plant dynamics / Controller / control device input modelled in Simulink), you can replace a trivial Quadrucopter model with something more resembling a real aircraft - export the corresponding VRML model from a CAD tool and include (inline) it in your main scene.
Good luck,
Jan

Community Treasure Hunt

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

Start Hunting!

Translated by