Info

This question is closed. Reopen it to edit or answer.

Model Reference : Simulink functions Issue

1 view (last 30 days)
Shivaputra Narke
Shivaputra Narke on 26 Jul 2019
Closed: MATLAB Answer Bot on 20 Aug 2021
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'

Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!