How to make a Simulink model constant?
问题 I have a model in Simulink (2018a) which has more models inside. So I have: parent.slx --> child.slx I want child.slx to execute only once in the whole simulation, so basically its output will be constant at all times. 回答1: You should be using the Model Block to call the child model. Put this block into an Enabled Subsystem Block in the parent model and create the enable signal in the following way: You also need to make sure that the outport blocks within the subsystem are set to hold their