systemcomposer.allocation.AllocationScenario

Manage allocation scenario

    Description

    The systemcomposer.allocation.AllocationScenario class defines a collection of allocations between elements in the source model to elements in the target model.

    Creation

    scenario = createScenario(myAllocationSet);

    Properties

    expand all

    Name of allocation scenario, returned as a character vector.

    Data Types: char

    Allocations in the scenario, returned as a cell array of systemcomposer.allocation.Allocation objects.

    Allocation set that this scenario belongs to, returned as an systemcomposer.allocation.AllocationSet object.

    Description of allocation set, returned as a character vector.

    Data Types: char

    Object Functions

    allocateCreate new allocation
    destroyDelete allocation scenario
    deallocateDelete allocation between source and target element
    getAllocationGet allocation between source and target elements
    getAllocatedFromGet allocation target
    getAllocatedToGet allocation source
    Introduced in R2020b