Function definitions are not permitted in this context
정보
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
이전 댓글 표시
Please help me this function. Detail in code attach.
Thanks you so much !

댓글 수: 0
답변 (1개)
Add the missing
end
after line 148 (from your outer while loop) to get rid of this error. This end is missing, so Matlab assumes that you declare functions inside a while loop, which is not allowed.
댓글 수: 0
이 질문은 마감되었습니다.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!