Select a block ie gain in Simulink then in Matlab type:

get(gcbh)

This shows the list of properties which can be controlled from Matlab. TO change one for example changing the gain paramter from double to a 10 bit fixed point number (sfix10_en9).

set_param(gcbh, 'ParamDataTypeStr', 'fixdt(1,10,9)'); 

From Matlab Central.