Main Content

Migrate Projects Developed Using Prior Support Packages

After you install theUAV Toolbox Interface for Unreal Engine®Projectssupport package as described inInstall Support Package for Customizing Scenes, 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.26. Follow these steps:

  1. Open Unreal Engine 4.26. For example, navigate toC:\Program Files\Epic Games\UE_4.26\Engine\Binaries\Win64and openUE4Editor.exe.

  2. Use the Unreal Project Browser to open the project that you want to migrate.

  3. 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.26. Close the editor.

  4. In a file explorer, remove any spaces in the migrated project folder name. For example, renameMyProject 4.26toMyProject4.26.

  5. Use MATLAB®to open the migrated project in Unreal Editor 4.26. For example, if you have a migrated project saved to theC:/Localfolder, use this MATLAB code:

    path = fullfile('C:','Local','MyProject4.26','MyProject.uproject'); editor = sim3d.Editor(path); open(editor);

    Note

    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.26. To check, examine the Output Log.

    The log might contain error messages. For more information, see theUnreal Engine 4 Documentationor contactMathWorksTechnical Support.

  6. Optionally, after you migrate the project, you can use the project to create an Unreal Engine executable. SeePackage Custom Scenes into Executable.

After you migrate the project, you can create custom scenes. SeeCustomize Unreal Engine Scenes Using Simulink and Unreal Editor.

See Also

Related Topics