Simulation 3D of Simulink 3D animation is working in real-time?
Hello everyone,
I’m currently working on a project in Simulink where I need to control 3D objects in real-time. These objects are connected to controllers like a mouse or a robot. For instance, I have a cursor that moves based on mouse input, and its position changes continuously.
I have been using Simulink Desktop Real-Time (SLDRT) to achieve the real-time performance required for my project. However, I’ve learned that in upcoming versions of MATLAB, the Virtual Reality (VR) Sink blocks used for 3D visualization will be removed. The MATLAB documentation suggests using Simulation 3D blocks (like Simulation 3D Scene Configuration, Simulation 3D Actor, etc.) as replacements.
I attempted to implement these Simulation 3D blocks, but I’ve run into several limitations, which are also detailed Unreal Engine Simulation Environment Requirements and Limitations – MATLAB & Simulink – MathWorks Italia. The main issue is that the Simulation 3D blocks do not support SLDRT. When I try to run my model, I receive the following error: "The selected system target file ‘sldrt.tlc’ is not currently supported for concurrent execution."
My question is: How can I achieve real-time 3D visualization in Simulink, given that the VR Sink blocks are being deprecated and the Simulation 3D blocks don’t support SLDRT? Are there alternative methods or tools that I can use to visualize my 3D models in real-time while still using SLDRT?
Any advice or suggestions would be greatly appreciated!
Thank you.Hello everyone,
I’m currently working on a project in Simulink where I need to control 3D objects in real-time. These objects are connected to controllers like a mouse or a robot. For instance, I have a cursor that moves based on mouse input, and its position changes continuously.
I have been using Simulink Desktop Real-Time (SLDRT) to achieve the real-time performance required for my project. However, I’ve learned that in upcoming versions of MATLAB, the Virtual Reality (VR) Sink blocks used for 3D visualization will be removed. The MATLAB documentation suggests using Simulation 3D blocks (like Simulation 3D Scene Configuration, Simulation 3D Actor, etc.) as replacements.
I attempted to implement these Simulation 3D blocks, but I’ve run into several limitations, which are also detailed Unreal Engine Simulation Environment Requirements and Limitations – MATLAB & Simulink – MathWorks Italia. The main issue is that the Simulation 3D blocks do not support SLDRT. When I try to run my model, I receive the following error: "The selected system target file ‘sldrt.tlc’ is not currently supported for concurrent execution."
My question is: How can I achieve real-time 3D visualization in Simulink, given that the VR Sink blocks are being deprecated and the Simulation 3D blocks don’t support SLDRT? Are there alternative methods or tools that I can use to visualize my 3D models in real-time while still using SLDRT?
Any advice or suggestions would be greatly appreciated!
Thank you. Hello everyone,
I’m currently working on a project in Simulink where I need to control 3D objects in real-time. These objects are connected to controllers like a mouse or a robot. For instance, I have a cursor that moves based on mouse input, and its position changes continuously.
I have been using Simulink Desktop Real-Time (SLDRT) to achieve the real-time performance required for my project. However, I’ve learned that in upcoming versions of MATLAB, the Virtual Reality (VR) Sink blocks used for 3D visualization will be removed. The MATLAB documentation suggests using Simulation 3D blocks (like Simulation 3D Scene Configuration, Simulation 3D Actor, etc.) as replacements.
I attempted to implement these Simulation 3D blocks, but I’ve run into several limitations, which are also detailed Unreal Engine Simulation Environment Requirements and Limitations – MATLAB & Simulink – MathWorks Italia. The main issue is that the Simulation 3D blocks do not support SLDRT. When I try to run my model, I receive the following error: "The selected system target file ‘sldrt.tlc’ is not currently supported for concurrent execution."
My question is: How can I achieve real-time 3D visualization in Simulink, given that the VR Sink blocks are being deprecated and the Simulation 3D blocks don’t support SLDRT? Are there alternative methods or tools that I can use to visualize my 3D models in real-time while still using SLDRT?
Any advice or suggestions would be greatly appreciated!
Thank you. matlab, simulink, sldrt, simulation MATLAB Answers — New Questions