Change value of tunable parameter in real-time application
setparam(
sets the value of a tunable block parameter to a new value. Specify the block
parameter by the block name and the parameter name. target_object, block_path, parameter_name, parameter_value)
setparam(
sets the value of the tunable global parameter to a new value. Specify the
global parameter by the MATLAB® variable name.target_object, '', parameter_name, parameter_value)