Regarding Packaging Unreal Engine Scenes
8 ビュー (過去 30 日間)
古いコメントを表示
I am trying to build custom scenes with unreal engine and I am able to compile and run the scene executable using scene 3D configuration block.
I want to build these scenes so that they run on another system without the requirement of opening through the scene 3D configuration block.
How can this be done?
0 件のコメント
回答 (1 件)
Nishan Nekoo
2024 年 10 月 9 日
Hi Ketan,
I understand that you are building a custom scene in the Unreal Editor, and that you are currently compiling that scene into an executable and calling it from the Scene Configuration block using the 'Unreal Executable' selection as a Scene Source.
It sounds like you want to continue building these scenes in the Unreal Editor but maybe you don't want to have to open the Unreal Editor via the Scene Configuration block while you are on a different system? If this is what is being asked, then the solution is to disable the MathWorks plugin in the Unreal Editor when you are not doing co-simulation with Simulink. Then, the Unreal project can be opened without using the Scene Configuration block.
I hope that helps and if that didn't answer your question, please let me know!
Nishan
3 件のコメント
Nishan Nekoo
2024 年 10 月 10 日
Hey Ketan, I see! It sounds like you want your Unreal Engine scene along with your Simulink model and Simulation 3D blocks compiled into an executable. Unfortunately, Simulation 3D blocks do not support code generation for now as mentioned on our limitations page, so this workflow is not supported. Know that we are keenly aware of this limitation and may consider supporting this workflow in a future release.
One potential workaround is to use UDP or ROS to transmit data between Simulink and Unreal instead of Simulation 3D blocks. Then compile the Simulink model (without Simulation 3D blocks) into a DLL and call this from Unreal instead. The downside is that you will need to set up your own communication interfaces and it may not be possible to have lock-step, deterministic simulations.
At a high level can you tell me more about what your use case is for building an executable? Is the executable intended for use by other people? I'd love to learn more about your workflow and project!
参考
カテゴリ
Help Center および File Exchange で Get Started with Aerospace Blockset についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!