increaseOrder - Increase component initialization order by 1 - MATLAB (original) (raw)
Main Content
Increase component initialization order by 1
Since R2024b
Syntax
Description
increaseOrder([initializeFunctionObj](#mw%5F5c436c8e-cf65-4fdd-961b-24cc101d73f7))
increases order of the specified initialize function initializeFunctionObj
by 1.
Examples
- Open and simulate the model to populate it with functions.
model = systemcomposer.openModel("scServiceInterfaceExample");
sim("scServiceInterfaceExample"); - View the initialize functions sorted by order of component initialization.
initializeFunctions = {model.Architecture.Initialization.Name}' - Decrease the order of the first function.
decreaseOrder(model.Architecture.Initialization(1))
initializeFunctions = {model.Architecture.Initialization.Name}' - Increase the order of the third function.
increaseOrder(model.Architecture.Initialization(3))
initializeFunctions = {model.Architecture.Initialization.Name}'
Input Arguments
Version History
Introduced in R2024b