Output function call from model

10 views (last 30 days)
Mohamed Elattal
Mohamed Elattal on 20 Jul 2017
Commented: Erik Voigt on 25 Oct 2017
Could signals representing function calls generated in a model be exported out of this model?
The use case is that I want to define the scheduling in a reference model and use this reference model in the Simulation model, which contains everything else as reference models (test harness, functional model, plant model, ...).
Simulink reports the following errors for the Output ports (note that output ports can't be set to "Output function call" like root-level inports):
Invalid "function-call" Connection.
Component:Simulink | Category:Modelerror
Function-call initiator 'YYYY' is attempting to invoke a function-call block on output port 1, element 1 even though this port element has not been configured to output a function-call signal.
Component:Simulink | Category:Modelerror
Invalid connection ends with 'ZZZZ' which is illegal because it is not a function-call block.
  1 Comment
Erik Voigt
Erik Voigt on 25 Oct 2017
Hi I have the same challenge here in my work creating a scheduler-model. I have forwarded the question to our MAthworks-consultant for assistance. Maybe you have news on your side ? attached the model I try to get to work... kr Erik

Sign in to comment.

Answers (0)

Categories

Find more on Schedule Model Components in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!