additional hint: The set_param is called in a matlab script that is called from a Matlab function within the model and is executed first time on simulation start and afterwards can be called in case of user interaction with a matlab app as control center.
That worked fine until now.