Regarding controlling icon parameters of a susbsystem

조회 수: 5 (최근 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 CenterFile Exchange에서 Programmatic Model Editing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by