Problem with Function-call subsystem.
Show older comments
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 Comment
João Araújo
on 10 Sep 2019
I don't know if you managed to answer this question, but I would be interested to know a solution!
Answers (0)
Categories
Find more on Schedule Model Components in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!