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 comentario

João Araújo
João Araújo el 10 de Sept. de 2019
I don't know if you managed to answer this question, but I would be interested to know a solution!

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Schedule Model Components en Centro de ayuda y File Exchange.

Preguntada:

el 29 de Oct. de 2018

Comentada:

el 10 de Sept. de 2019

Community Treasure Hunt

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

Start Hunting!

Translated by