what do you actually mean with synchronization with GUI?
Do you want to update GUI values/graphs based on Simulink model when the model is running? Then you may want to check this demo ( Event Llstener )
Do you want to update/set Simulink model parameter using the GUI? then the set_param/get_param is the correct way to proceed.