Regarding controlling icon parameters of a susbsystem

1 visualizzazione (ultimi 30 giorni)
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

Risposta accettata

TAB
TAB il 13 Feb 2012
Use
set_param('YourSubsystem','MaskDisplay','image(imread(''YourImage.jpg''))');
  1 Commento
Sriharsha
Sriharsha il 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...

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Create Large-Scale Model Components in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by