I would first of all like to thank you for providing this example which helped me get a better understanding on how the add_exec_event_listener works in Simulink. Pardon me but I would like to ask you a question regarding this method. I am basically trying to acquire 2 output signals from OUT1 and OUT2 sinks within Simulink into a GUI. From what I've learned in your example, I've managed to get one or the other but not both AT THE SAME TIME which is my goal.
To put it into prospective using your example, I guess it would be like using add_exec_event_listener within 2 SCOPES trying to update 2 AXES in your GUI at the same time. My question is, can the add_exec_event_listener method work for outputting multiple block values into a GUI? I would really appreciate it if you could point me in the right direction or provide any advice.