how to build 3D simulation of a model?

9 ビュー (過去 30 日間)
Martin
Martin 2013 年 4 月 10 日
編集済み: Nishan Nekoo 2024 年 1 月 11 日
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