配置模型引用
顶层模型和引用模型中的配置参数值可能不同。在模型引用中,一些配置参数值有特殊的要求或行为。
Execute referenced models conditionally, similar to conditionally executed
subsystems.
引用模型可从引用它的模型继承采样时间。
在将可重用组件建模为引用模型时,要将组件的每个实例配置为使用不同模块参数值,请创建模型参数。
This example shows how to programmatically configure multiple instances of a referenced model to use different values for the same block parameter.
This example shows how to programmatically configure multiple instances of a referenced model to use different values for the same block parameter by using structures.
When you use Simulink.LookupTable objects to store and configure lookup table data for ASAP2 or AUTOSAR code generation (for example, STD_AXIS or CURVE), you can configure the objects as model arguments.