Simulink.op.ModelBlockOperatingPoint
Description
A Simulink.op.ModelBlockOperatingPoint object contains data that
represents the operating point of a Model block in simulation. A
Model block operating point contains the values of states in the referenced
model, including states of hidden blocks.
Use Model block operating points to specify the initial operating point of a model reference in simulation.
To save the operating point of a model reference, configure the Model block to save its final operating point.
To initialize a model reference for simulation, specify the initial operating point of the Model block as a
Simulink.op.ModelBlockOperatingPointobject.
You can configure multiple Model blocks in the same model hierarchy to save the final operating point or simulate from an initial operating point.
Model block operating points are not interchangeable with model operating points.
To initialize a top model, you must use a
Simulink.op.ModelOperatingPointobject.To initialize a Model block, you must use a
Simulink.op.ModelBlockOperatingPointobject.
A Model block operating point overrides operating point information for the block specified as:
The initial state or operating point of the top model
The initial operating point of another Model block at a higher level of the model hierarchy
Model block operating points do not contain operating point information for the solver or the simulator. Specifying the initial operating point of a Model block does not affect the operating point of the solver or simulator.
Saving and loading Model block operating points is not supported for Model blocks that:
Simulate in a mode other than normal mode
Reference a model that is referenced by another Model block in the hierarchy
Are part of a variant subsystem or variant assembly subsystem
Creation
To create a Model block operating point, configure the Model block to save its final states. The final operating point of the block is returned with the simulation results.
By default, each Model block operating point is saved as a
Simulink.op.ModelBlockOperatingPointobject in a property of theSimulink.SimulationOutputobject returned by the simulation.If you disable the Single simulation output configuration parameter, each Model block operating point is saved in a workspace variable when you run the simulation from a user interface, such as the Simulink Editor.
Properties
Examples
Version History
Introduced in R2026a