Error function definitions are not permitted in this context
조회 수: 16 (최근 30일)
이전 댓글 표시
Maria de São Luís Castro
2019년 11월 3일
편집: Maria de São Luís Castro
2019년 11월 5일
Hi,
Im trying to execute timbre toolbox on Mathlab 2017a, however there is an error ..
Can you help me in understanding this error? Thank you

댓글 수: 12
Adam Danz
2019년 11월 4일
ahh... in that case, i'm not sure what to recommend if the output is not defined within the function. Is there a typo or any indication of what the output should be?
채택된 답변
Adam Danz
2019년 11월 3일
편집: Adam Danz
2019년 11월 4일
It appears that you're running copy-pasted code directly from the command window. Function definitions are not supported from the command window. The function must be defined from within the editor. So, you'll need to run your file from the editor, not from the command window.
Here are some tips to run parts of code from within the editor.

댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Environment and Settings에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!