Problem with Function-call subsystem.
이전 댓글 표시
Hello guys. I am trying to call function-call Subsystem (p3) from within function-call Subsystem (p1). I have a stateflow within the function-call subsytem (p1) as follows. I have attached the images fore reference. When I try to run it , it gives the following errors
Data type mismatch.Input port 1 of 'Light_alg/Light/LightSituationEvaluation_sim/LightSituationEvaluation/set_4_Event/Event' expects a signal of data type 'uint32'. However, it is driven by a signal of data type 'fcn_call'. Component:Simulink | Category:Model error
Data type mismatch. Output port 2 of 'Light_alg/Light/LightSituationEvaluation_sim/LightSituationEvaluation/set_4_Event/set_4_events' is a signal of data type 'fcn_call'. However, it is driving a signal of data type 'uint32'.
What can I possibly do to successfully call function-call subsytem (p3)? Is there a better way to do it ?
댓글 수: 1
João Araújo
2019년 9월 10일
I don't know if you managed to answer this question, but I would be interested to know a solution!
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Schedule Model Components에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!