Regarding controlling icon parameters of a susbsystem

1 vue (au cours des 30 derniers jours)
Sriharsha
Sriharsha le 13 Fév 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

Réponse acceptée

TAB
TAB le 13 Fév 2012
Use
set_param('YourSubsystem','MaskDisplay','image(imread(''YourImage.jpg''))');
  1 commentaire
Sriharsha
Sriharsha le 13 Fév 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...

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Create Large-Scale Model Components dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by