- Using If subsystem, If action subsystem & merge block.
- Using Switch block
- Using Enabled subsystems
Need a help on simulink block
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
hello, i want to create a code structure like below :
if(x == 1)
x=y;
z = a;
........
else
x = z;
y=a;
..........
which block i can use to generate such kind of code?
0 comentarios
Respuesta aceptada
TAB
el 18 de Jun. de 2012
You can implement in many ways...
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Create Large-Scale Model Components en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!