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

조회 수: 2 (최근 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