Migrate Projects Developed Using Prior Support Packages
After you install the Aerospace Blockset™ Interface for Unreal Engine® Projects support package as described in Install Support Package and Configure Environment, you may need to migrate your project. If your Simulink® model uses an Unreal Engine executable or project developed using a prior release of the support package, you must migrate the project to make it compatible with Unreal® Editor 4.27. Follow these steps:
Open Unreal Engine 4.27. For example, navigate to
C:\Program Files\Epic Games\UE_4.27\Engine\Binaries\Win64and open
Use the Unreal Project Browser to open the project that you want to migrate.
Follow the prompts to open a copy of the project. The editor creates a new project folder in the same location as the original, appended with 4.27. Close the editor.
In a file explorer, remove any spaces in the migrated project folder name. For example, rename
Use MATLAB® to open the migrated project in Unreal Editor 4.27. For example, if you have a migrated project saved to the
C:/Localfolder, use this MATLAB code:
path = fullfile('C:','Local','MyProject4.27','MyProject.uproject'); editor = sim3d.Editor(path); open(editor);
The support package may includes changes in the implementation of some actors. Therefore, if the original project contains actors that are placed in the scene, some of them might not fully migrate to Unreal Editor 4.27. To check, examine the Output Log.
Optionally, after you migrate the project, you can use the project to create an Unreal Engine executable. See Package Custom Scenes into Executable.
After you migrate the project, you can create custom scenes. See Customize Scenes Using Simulink and Unreal Editor.
If your project cannot locate the support package plugins, you may need to copy the plugins to the Unreal plugin folder or the Unreal project folder.