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

1 次查看(过去 30 天)
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."

回答(1 个)

Urmila Rajpurohith
Urmila Rajpurohith 2020-8-25
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

类别

Help CenterFile Exchange 中查找有关 Event Functions 的更多信息

产品


版本

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by