Main Content

Scenarios

Configure scenarios

Since R2024b

    Description

    The Scenarios block implements the driver scenario. The subsystem contains variants that generate maneuver-specific driver reference velocity, path, and action signals. Select Driver reference to input external driver reference signals. Select Driver commands to input external driver signals.

    Additionally, you can control external or internally generated signals by setting the workspace variables ExtDrvRefSwitch and ExtDrvCmdsSwitch to true or false during runtime. Consider using the switch values when running multiple simulations that require both external and internal maneuvers or when overriding nominal model-generated ones.

    Ports

    Input

    expand all

    External driver reference signals.

    Dependencies

    To create this port, select Driver reference.

    External driver commands signals.

    Dependencies

    To create this port, select Driver reference.

    Bus containing vehicle feedback signals, including velocity, acceleration, and steering wheel torque.

    Output

    expand all

    Bus containing the visualization reference signals, including longitudinal and lateral displacement, and steering.

    Bus containing the vehicle reference signals, including longitudinal and lateral displacement, and steering.

    Bus containing vehicle displacement feedback signals.

    Parameters

    expand all

    Specify to create an external driver reference inport, ExtDrvRef.

    Specify to create an external driver commands inport, ExtDrvCmd.

    Version History

    Introduced in R2024b