Error problem.
조회 수: 5 (최근 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!