Regarding controlling icon parameters of a susbsystem

10 ビュー (過去 30 日間)
Sriharsha
Sriharsha 2012 年 2 月 13 日
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 Center および File ExchangeProgrammatic Model Editing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by