I am running simulink from a Matlab program and want to add a GUI. I have numerous programs in this format - so would prefer to keep the existing Matlab programs. I find that the GUI clears the Matlab parameters when the simulink model starts, e.g. t_stop, etc. Is there a simple way around this? E.g. set GUI parameters in the Matlab code before calling simulink?