Numeric variables created and stored in workspaces such as the base workspace, a model workspace, or a Simulink data dictionary can be used to set the value of a block parameter, such as the Gain parameter of a Gain block.