Find variable value overwritten in M file and Simulink.

3 ビュー (過去 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 !!!
  2 件のコメント
Murugan C
Murugan C 2019 年 6 月 28 日
Hi stephen, Thanks for it. I got this idea. but, if it is in Simulink Model, then how can we identify?

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeSimulink Environment Customization についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by