Output function call from model
조회 수: 5 (최근 30일)
이전 댓글 표시
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
Erik Voigt
2017년 10월 25일
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
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Event Functions에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!