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
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 ExchangeSchedule Model Components についてさらに検索

質問済み:

2018 年 10 月 29 日

コメント済み:

2019 年 9 月 10 日

Community Treasure Hunt

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

Start Hunting!

Translated by