How to activate or desactivate a simulink block?

8 ビュー (過去 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.
  1 件のコメント
Qais Obaid
Qais Obaid 2020 年 3 月 18 日
How can operate model code

サインインしてコメントする。

回答 (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 Center および File ExchangeInstall Products についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by