MATLAB Answers

Regarding controlling icon parameters of a susbsystem

1 view (last 30 days)
Sriharsha
Sriharsha on 13 Feb 2012
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

Accepted Answer

TAB
TAB on 13 Feb 2012
Use
set_param('YourSubsystem','MaskDisplay','image(imread(''YourImage.jpg''))');
  1 Comment
Sriharsha
Sriharsha on 13 Feb 2012
set_param('Filter_Bank/Subsystem','MaskDisplay','image(imread(''C:\Program Files\MATLAB\R2010a\toolbox\images\icons\overview_zoom_in.png''))')
This is working...
Thnaks...

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!