Error problem.
8 ビュー (過去 30 日間)
古いコメントを表示
Hi.
I got the error; "The value assigned to variable 'U' might be unused". I have tried to change the letter 'U' to something else, but the error is still existing.
Can someone explain for me what I am doing wrong here?
Regards Cillian
0 件のコメント
回答 (1 件)
Walter Roberson
2012 年 6 月 7 日
That is not an error, it is a warning. It is telling you that you are assigning a value to a variable ("U" in this case) but that that variable is not used later on. The warning is suggesting that you review your code to see if you made a mistake, and it is also suggesting that if you do not need that variable that you might not need the assignment at all.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Logical についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!