You can find all possible parameter of a block using:
get_param(gcb,'ObjectParameters')
In this case of the port location on parent subsystem, see
temp=get_param(gcb,'Side')
set_param(gcb,'Side','Right')
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!