Adds set_param commands to output script

set_param commands for the block diagram is added to the output.
Currently only numerical and string values ar esupported.