Asynchronous function-call Initiator

My model has a variant subsystem and in variant subsystem in add_sfcn reference model I have two subsystems, one is running at 10 ms and one is running at 50 ms and when I compile variant subsystem, I am getting 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." Can you please suggest how to fix the issue? I have attached the zip file of required models and script. Before compiling model run Variant_definition.m file.

Antworten (1)

Fangjun Jiang
Fangjun Jiang am 18 Aug. 2020

0 Stimmen

The functon-call trigger port needs to be connected with a function-all signal, usually from a function-call generator block. Double click the function-call generator block, click Help to bring up the document, look at the examples.

3 Kommentare

Sachin Patil
Sachin Patil am 18 Aug. 2020
Yes, The functon-call trigger port is already connected with a function-all signal, and I have generated with stateflow chart instead of function call generator. Is function call generator is an asynchronous function call initiator??
Fangjun Jiang
Fangjun Jiang am 18 Aug. 2020
No. The Function-Call Generator block can only generate function calls on a specific rate.
Sachin Patil
Sachin Patil am 18 Aug. 2020
Yes, then unfortunately that will not resolve my issue. Can you please run the attached model and check the architecture then might be you will get the clue.
appriciate the help!

Melden Sie sich an, um zu kommentieren.

Kategorien

Produkte

Version

R2018b

Gefragt:

am 17 Aug. 2020

Kommentiert:

am 18 Aug. 2020

Community Treasure Hunt

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

Start Hunting!

Translated by