Trích:
Nguyên văn bởi hanhluckyly
Chào bạn militant
Có một cách như sau và cách này mình đã từng làm rồi và chạy rồi nhưng cách nay đã khá lâu(3 năm)mình không đụng đến món này :
- Bạn vẽ một hình 3D bên Autocad sau đó save lại dưới dạng .3ds từng bộ phận của hình 3D của bạn
-Vào Matlab bạn vào simulink rồi vào hình như là Simmechanic rồi double click vào cái biểu tượng cái đó dùng để mô phỏng 3D bạn lần lượt import mấy cái hình (*3ds) của bạn vào
- Bạn kéo thả thêm mấy cái biểu tượng động cơ vào nữa.
- Nó được điều khiển theo nguyên tắc khớp cha điều khiển khớp con.
Mình biết nói như thế này vẫn chưa rõ lắm nhưng cái project ấy mình để đâu mất tiêu rồi bạn chịu khó tìm hiểu thêm.
|
Dùng kết hợp SimMechanics Toolbox với Virtual Reality Toolbox để tạo các mô phỏng 3D. Lớp phía trên sẽ là các mô hình 3D trực quan, ẩn phía dưới là các khối của SimMechanics và Simulinks đại diện cho động học của hệ thống. Dùng Virtual Reality Toolbox để tạo liên kết giữa hai lớp.
What Is the Virtual Reality Toolbox?
The Virtual Reality Toolbox is a solution for viewing and interacting with dynamic systems in a three-dimensional virtual reality environment. It extends the capabilities of MATLAB and Simulink into the world of virtual reality graphics.
-
Virtual worlds -- Create virtual worlds or three-dimensional scenes using standard Virtual Reality Modeling Language (VRML) technology.
-
Dynamic systems -- Create and define dynamic systems with MATLAB and Simulink.
-
Animation -- View moving three-dimensional scenes driven by signals from the Simulink environment.
-
Manipulation -- Change the position and properties of objects in a virtual world, or change parameters in your Simulink model while running a simulation.
To provide a complete working environment, the Virtual Reality Toolbox includes additional components:
-
VRML viewer -- Use either the Virtual Reality Toolbox viewer or, for PC platforms, the blaxxun Contact plug-in for Web browsers to display your virtual worlds.
-
VRML editor -- For PC platforms, use V-Realm Builder to create and edit VRML code. For UNIX or Linux platforms, use the MATLAB text editor to write VRML code to create virtual worlds.
Mấy cái này rất hay đấy. Bạn nào quan tâm tìm hiểu thêm nhé.