systemcomposer.allocation.Allocation

Allocation between source and target element

    Description

    The systemcomposer.allocation.Allocation defines the allocation between the source element and the target element.

    Creation

    % Create two allocations between four elements in 
    % the default scenario, Scenario 1.
    defaultScenario = allocSet.getScenario('Scenario 1');
    defaultScenario.allocate(sourceElement1,sourceElement2);
    defaultScenario.allocate(sourceElement3,sourceElement4);

    Properties

    expand all

    Source element, returned as a systemcomposer.arch.Element object.

    Target element, returned as a systemcomposer.arch.Element object.

    Allocation scenario, returned as a systemcomposer.allocation.AllocationScenario object.

    Introduced in R2020b