Main Content

Simulation 3D Space Environment

Configure 3D Earth or Moon Scene from UTC Julian date input

Since R2026a

  • Dynamic Inflow Finite State icon

Libraries:
Aerospace Blockset / Animation / Simulation 3D

Description

Add-On Required: This feature requires the Ephemeris Data for Aerospace Toolbox add-on.

The Simulation 3D Space Environment block configures Earth and Moon scenes by calculating setup parameters from start date and time, ambient light, and sunlight levels, synchronizing scene selection with the Simulation 3D Scene Configuration block.

Parameters

expand all

To edit block parameters interactively, use the Property Inspector. From the Simulink® Toolstrip, on the Simulation tab, in the Prepare gallery, select Property Inspector.

Select the 3D scene to configure, specified as one of Earth, Moon or None.

Dependencies

This parameter is available unless a Simulation 3D Scene Configuration block is in the model canvas, Scene source is set to Default scenes, and the Earth or Moon scene is selected. In that case the block is automatically synchronized with the scene selection in the Simulation 3D Scene Configuration block.

Programmatic Use

Block Parameter: Map
Type: char
Values:Earth|Moon|None
Default: Earth

Start date or time, specified as a juliandate.

Dependencies

  • Julian date value must be between 2305424.5 and 2525008.5 for the DE405 ephemerides database currently in use. This database is periodically updated, so the range of acceptable date values are subject to change.

Programmatic Use

Block Parameter: StartJD
Values:juliandate(2020, 6, 1, 12, 0, 0)|juliandate value
Default: juliandate(2020, 6, 1, 12, 0, 0)

Ambient light intensity, specified as a real nonnegative scalar.

Programmatic Use

Block Parameter: AmbientIntensity
Values:1| real nonnegative scalar
Default: 1

Intensity of direct sunlight in 3D scene, specified as a real nonnegative scalar.

Programmatic Use

Block Parameter: SunLightIntensity
Values:10| real nonnegative scalar
Default: 10

Extended Capabilities

expand all

C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.

Version History

Introduced in R2026a