Error function definitions are not permitted in this context
25 ビュー (過去 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!