...
Code Block |
---|
numElements = 3; numLoaders = 1; maxTime = 5; noConflict = [| true , true , true , true , true | true , true , true , true , true | false , true , false , true , false |]; elementSlotCapacity = [1, 2, 1, 3, 3]; % Since the (unique) loader has virtually % infinity capacity, we assign the number % of elements as capacity. % We can also do: % loaderCapacity = [| % numElements, numElements, numElements, numElements, numElements % |]; loaderCapacity = [| 3, 3, 3, 3, 3 |]; numAttributes = 0; attributesRange = []; % attributes = []; does not work on version 2.2.1 attributes = array2d(1..numElements, 1..numAttributes, []); % attributeConcurrencyLimit = []; does not work on version 2.2.1 attributeConcurrencyLimit = array2d(1..numAttributes, 1..maxTime, []); |
...