MATLAB: Regarding controlling icon parameters of a susbsystem

guisimulinksubsystem

Hi,
How can we control icon parameters of any masked subsystem?
I mean like, I want to assign an image to a subsystem using a callback..
When I press a button, the corresponding susbsystem's image must be changed with what we suggest.
Is it possible?
If so, please help me..
Regards
Sriharsha S

Best Answer

Use
set_param('YourSubsystem','MaskDisplay','image(imread(''YourImage.jpg''))');