Main Content

load

Load 3D models or actors into 3D environment

Since R2024a

    Description

    load(world,source) loads the 3D models or actors in the source to the 3D environment specified by world.

    Input Arguments

    collapse all

    World object that defines the 3D environment, specified as a sim3d.World object.

    Example: world = sim3d.World()

    Name of location from where source file is loaded, specified as a character array. The source can be a file path or file name. load supports these as sources.

    File Formats

    • MAT (MAT file from MATLAB®)

    • WRL (Virtual Reality Modeling Language)

    • USD, USDA, USDC (Universal Scene Description)

    The actors imported from USD files are not compatible with collision detection. To export and simulate RoadRunner scene in USD format, see Simulate in RoadRunner Scene.

    Note

    USD file import is not supported on Linux®.

    More About

    collapse all

    Version History

    Introduced in R2024a

    expand all