How to activate or desactivate a simulink block?

8 vues (au cours des 30 derniers jours)
ander
ander le 5 Déc 2014
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.

Réponses (2)

Azzi Abdelmalek
Azzi Abdelmalek le 5 Déc 2014
set_param('ModelName/BlocName','Commented','off') % or on
  3 commentaires
Azzi Abdelmalek
Azzi Abdelmalek le 5 Déc 2014
Modifié(e) : Azzi Abdelmalek le 5 Déc 2014
It's a line of code, put it in a Matlab function block
Qais Obaid
Qais Obaid le 18 Mar 2020
I want pattern for radar tracking system in matlab simulink

Connectez-vous pour commenter.


Qais Obaid
Qais Obaid le 18 Mar 2020
I want pattern for radar tracking system in matlab

Catégories

En savoir plus sur Install Products dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by