Borrar filtros
Borrar filtros

Need a help on simulink block

1 visualización (últimos 30 días)
Sukumar Paul
Sukumar Paul el 18 de Jun. de 2012
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?

Respuesta aceptada

TAB
TAB el 18 de Jun. de 2012
You can implement in many ways...
  1. Using If subsystem, If action subsystem & merge block.
  2. Using Switch block
  3. Using Enabled subsystems

Más respuestas (0)

Categorías

Más información sobre Subsystems en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by