Regarding controlling icon parameters of a susbsystem

1 次查看(过去 30 天)
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

采纳的回答

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

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Create Large-Scale Model Components 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by