Atomic subsystem with different trigger signals

Hi Matlab community,
I'm working with a Simulink model, which contains a block to generate trigger signals. These signals are used to trigger either atomic subsystems or referenced models. In a special case, one of these atomic subsystems works with 2 trigger signals in lower layers and after running this model, I get this error:
"A function-call signal, originating at 'Output Port 1' of initiator 'Sampling_Frequency_Divider/Subsystem/Function-Call Subsystem2/Chart', is branched incorrectly. The function-call blocks 'Sampling_Frequency_Divider/Subsystem1/Function-Call Subsystem5' and 'Sampling_Frequency_Divider/Subsystem/Function-Call Subsystem2' violate the requirement that all function-call blocks within a branched function-call network must reside at the same nonvirtual hierarchical level of the model."
The error states that function-call blocks in nonvirtual blocks (atomic block in my case) must be in the same hierarchical level. However, due to some reasons I need to keep this hierarchical level.
Do you have any suggestion to fix this error?
Thanks in advance

Answers (0)

Categories

Products

Release

R2022a

Asked:

on 30 Sep 2022

Community Treasure Hunt

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

Start Hunting!