Regarding controlling icon parameters of a susbsystem

1 visualización (últimos 30 días)
Sriharsha
Sriharsha el 13 de Feb. de 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

Respuesta aceptada

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

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Create Large-Scale Model Components en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by