필터 지우기
필터 지우기

How to change the mask icon dynamically based on the input?

조회 수: 1 (최근 30일)
Saeed Soltani
Saeed Soltani 2016년 2월 11일
답변: Saeed Soltani 2016년 2월 15일
Hi,
I am going to demonstrate an LED on my Simulink model. I would like to turn the LED on/off based on the input. I could not find any way, therefor I thought it may be a good idea to change an image or text of the mask's icon. I tried to write a simple 'if' in the 'Icon drawing commands' but I was not successful. Does anybody have any idea? Thank you in advance.
Best Retards,
Saeed

답변 (1개)

Saeed Soltani
Saeed Soltani 2016년 2월 15일
I have solved my problem by using another Matlab function block and set_param.

카테고리

Help CenterFile Exchange에서 Author Block Masks에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by