I want to be able to route my Simulink signals using a mouse click. The Manual Switch block can perform the routing, however, I want to improve the appearance. How can I create a mouse controlled switch/button in Simulink to route my signals with the following features?
1) Using the Mask OpenFcn callback for a subsystem
2) Using a MATLAB UI where the signal is held when the mouse is held
Best Answer