How to activate or desactivate a simulink block?
Show older comments
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 Comment
Qais Obaid
on 18 Mar 2020
How can operate model code
Answers (2)
Azzi Abdelmalek
on 5 Dec 2014
set_param('ModelName/BlocName','Commented','off') % or on
3 Comments
ander
on 5 Dec 2014
Azzi Abdelmalek
on 5 Dec 2014
Edited: Azzi Abdelmalek
on 5 Dec 2014
It's a line of code, put it in a Matlab function block
Qais Obaid
on 18 Mar 2020
I want pattern for radar tracking system in matlab simulink
Qais Obaid
on 18 Mar 2020
0 votes
I want pattern for radar tracking system in matlab
Categories
Find more on Installing Products in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!