Borrar filtros
Borrar filtros

How to implement a continue/return/skip current step in simulink?

2 visualizaciones (últimos 30 días)
Ishaan
Ishaan el 18 de Mayo de 2022
Comentada: Ishaan el 12 de Jun. de 2022
How do I emplement equivalent of the following matlab in simulink
if(b == 0)
return % Skip Current Step and output previous value of c
else
c = a / b; % Output New value of c
end
if(v < 0 | i < 0)
return % Skip Current Step if voltage is negative
else
p = v / i; % Output New value of c
end

Respuestas (0)

Etiquetas

Productos


Versión

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by