Find variable value overwritten in M file and Simulink.

조회 수: 1 (최근 30일)
Murugan C
Murugan C 2019년 6월 28일
댓글: Murugan C 2019년 6월 28일
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 !!!

답변 (0개)

카테고리

Help CenterFile Exchange에서 Simulink Environment Customization에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by