unreachable and dead code

29 visualizaciones (últimos 30 días)
VINAY
VINAY el 24 de Feb. de 2026 a las 4:25
Comentada: VINAY hace alrededor de 1 hora
why i am getting unreachable and dead code warning , i am not able to understant.
if anyone knows, please help me.
  2 comentarios
Image Analyst
Image Analyst hace alrededor de 4 horas
I can't even read that thing. What is that diagram? Is it Stateflow or Simulink (which I don't have)? How did you run your check on it? You might have some condition that is always false, like
value = false
if value
% Do something if value = true
% This block will never get executed since value is not a variable,
% it's a constant.
end
VINAY
VINAY hace alrededor de 1 hora
Now you can check

Iniciar sesión para comentar.

Respuestas (0)

Categorías

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

Etiquetas

Productos


Versión

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by