How to drive function call input port of a subsystem by an asynchronous function call initiator?

1 view (last 30 days)
I used asynchronous task specification block in a subsystem and that subsystem's input port 1 is driven by function generator(generated by stateflow chart). i am getting compilation error as "The function call input port 1 of model block 'Variant_Logic/Variant Model/Model1' must be driven by an asynchronous function call initiator."

Answers (1)

Urmila Rajpurohith
Urmila Rajpurohith on 25 Aug 2020
The reason that you are getting the above error is because the Asynchronous task specification block is NOT triggered by Asynchronous interrupt. The Inport block for Asynchronous task specification block must receive an interrupt signal from an Async Interrupt block that is in the parent model.
For more information refer to the below documentation link

Categories

Find more on Event Functions in Help Center and File Exchange

Products


Release

R2018b

Community Treasure Hunt

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

Start Hunting!