필터 지우기
필터 지우기

How to activate or desactivate a simulink block?

조회 수: 5 (최근 30일)
ander
ander 2014년 12월 5일
답변: Qais Obaid 2020년 3월 18일
Good morning, I have a variable which change his value for 0 to 1 and viceversa. I know that there is a block to activate or desactivate a simulink block but if I use a enable block I can`t use goto or from blocks.
I need to use from or goto blocks, so has someone any idea to activate or desactivae a block?
Thanks for all.

답변 (2개)

Azzi Abdelmalek
Azzi Abdelmalek 2014년 12월 5일
set_param('ModelName/BlocName','Commented','off') % or on
  댓글 수: 3
Azzi Abdelmalek
Azzi Abdelmalek 2014년 12월 5일
편집: Azzi Abdelmalek 2014년 12월 5일
It's a line of code, put it in a Matlab function block
Qais Obaid
Qais Obaid 2020년 3월 18일
I want pattern for radar tracking system in matlab simulink

댓글을 달려면 로그인하십시오.


Qais Obaid
Qais Obaid 2020년 3월 18일
I want pattern for radar tracking system in matlab

카테고리

Help CenterFile Exchange에서 Signal Import and Export에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by