Cannot run a default Simulink Example: "Stream Camera, Depth and Semantic Segmentation Data from Unreal Engine to NVIDIA Jetson"

1 view (last 30 days)
Dear all,
I try to follow the instructions of a UAV Toolbox/Simulation 3D example, Stream Camera, Depth and Semantic Segmentation Data from Unreal Engine to NVIDIA Jetson. However, it returns an error message as below. Please note that I use the trial version of r2022a with all toolboxes installed.
>> open_system("StreamFromUnrealToJetsonExampleModel.slx")
>> sim("StreamFromUnrealToJetsonExampleModel.slx");
STD exception 'class std::runtime_error': 'Failed to load bundle #909: C:\Program Files\MATLAB\R2022a\bin\win64\libmwgstreamerbuiltins.dll' was caught.
When I comment out all three Video Send blocks and terminate the signal outputs, the example can be run as seen below.
Another supportive information I can give is that, I can run another example, UAV Package Delivery, flawlessly. Once I add a Video Send block as below, I got the same error message as above.
May anybody replicate and help on this issue simply by running Stream Camera, Depth and Semantic Segmentation Data from Unreal Engine to NVIDIA Jetson example?
Kind regards,

Accepted Answer

Remo Pillat
Remo Pillat on 6 Jan 2024
I can confirm that in R2022a, you need to install one of the Visual Studio editions (Community, Professional etc.) to ensure that the "Video Send" block works. You need at least Visual Studio 2015, but newer versions will also do. You do not need to install gstreamer or Unreal Engine.
This limitation of the "Video Send" block was fixed in R2022b Update 4, so if you can upgrade to 22b or a newer release, no Visual Studio installation is required.

More Answers (1)

Ozan
Ozan on 28 Jul 2022
Hi Jianxin!
I had gstreamer 1.20.3 (both MinGW and MSVC).
But the problem has been resolved by installing Unreal Engine v4.26 and Visual Studio 2019 Community Edition. Unfortunately I don’t know which action solved the issue precisely.
I would appreciate a lot if you could replicate my actions at your end for the sake of verifying the solution.

Products


Release

R2022a

Community Treasure Hunt

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

Start Hunting!