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 个评论

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!

Translated by