MATLAB Answers

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

3 views (last 30 days)
Sachin Patil
Sachin Patil on 20 Aug 2020
Answered: Urmila Rajpurohith on 25 Aug 2020
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."

  0 Comments

Sign in to comment.

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

  0 Comments

Sign in to comment.

Products


Release

R2018b

Community Treasure Hunt

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

Start Hunting!