what is this illegal use of the end in face recognition
조회 수: 2 (최근 30일)
이전 댓글 표시
when iam trying to execute the face recognition code it is showing me the error '**illegal use of the end** 'what is this .if any one have experience in this project iam ready to send you the code help me out plz....
댓글 수: 2
Jan
2013년 7월 14일
Posting the relevant part of the code would give us the chance to answer without guessing the details.
답변 (1개)
Matt J
2013년 7월 14일
편집: Matt J
2013년 7월 14일
You are not allowed to use "if", "else", "elseif", or "end" as variable names, e.g.
>> if=1,
if=1,
|
Error: The expression to the left of the equals sign is not a valid target for an assignment.
>> elseif=2
elseif=2
|
Error: Illegal use of reserved keyword "elseif".
>> else=3
else=3
|
Error: Illegal use of reserved keyword "else".
>> end=4
end=4
|
Error: Illegal use of reserved keyword "end".
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!