Find variable value overwritten in M file and Simulink.

1 visualización (últimos 30 días)
Murugan C
Murugan C el 28 de Jun. de 2019
Comentada: Murugan C el 28 de Jun. de 2019
How do we find variable value overwrite in M file and Simulink.
Here I have writen very simple code. Does matlab has any tool or any method to find overwrite variable?
here 'out_c' has overwritten. how to find this kind of issue?
if a > b
out_c = 20
else
out_c = 10;
end
out_c = 15;
Thanks in advance !!!

Respuestas (0)

Categorías

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

Community Treasure Hunt

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

Start Hunting!

Translated by