I'm currently working on a project and came across a problem. The project involves an app which has a lift keyboard with numbers from 1 to 9 and a text box which I want to show the current floor. Clicking a button changes an input constant in Simulink model which then goes into a Stateflow model. The Stateflow model simulates the lift moving across the floors and updates the output "floor" and displays it in a display block. I would like to make that floor number to continously update in the text box of the app. I've searched for a solution for a while now and none worked so I hope someone could help. Thank you!