Button checker model 1(slx file) is built with 8 inputs (up, down , right, left, menu,back, home, power) and 8 outputs (up_k, down_k , right_k, left_k, menu_k,back_k, home_k, power_k). I get the button inputs from application.
Model 1 outputs has to be fed as inputs to Model2 (slx file)
I tried using Reference model approach. I made the Button checker model 1 as referene model in Model 2 slx file. I generated code. I got .c and .h files separately for Model 1 and 2. Integrated with application but my Model 2 is not able to get inputs from Model 1.
How do i do it. Please Help.