Info

此问题已关闭。 请重新打开它进行编辑或回答。

Model Reference : Simulink functions Issue

1 次查看(过去 30 天)
Hi,
I am using Model referencing to connect two different components in the Composition and simulate a composition.
Here,
Composition.slx = Root Model
SoftComponent_1.slx = Software Component within Root Composition.
This 'SoftComponent_1' contains simulink function. This model runs perfectly. However, when I try to simulate it as referenced model through Root composition. i.e. 'Composition', I am getting below error.
Simulink Functions exist inside the model referenced by Model block 'Composition/SoftComponent_1'. Therefore, this Model block cannot be placed in the model 'Composition', which is setup to export functions.
Is there any way to avoid this error without updating 'SoftComponent_1.slx'. I am not allowed to make changes in this model file. However, I can change anything at 'Composition.slx'

回答(0 个)

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by