Sorry I'm a simulink beginner, trying to dig all the info out. Now I got the solution for the error "No block Diagram 'BlockName' is loaded", I have to use : set_param('ModelName/BlockName','param','value')
and the "Icon & Ports" is represented by the parameter 'MaskDisplay'
Thanks