Error function definitions are not permitted in this context
16 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Maria de São Luís Castro
el 3 de Nov. de 2019
Editada: Maria de São Luís Castro
el 5 de Nov. de 2019
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 comentarios
Adam Danz
el 4 de Nov. de 2019
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?
Respuesta aceptada
Adam Danz
el 3 de Nov. de 2019
Editada: Adam Danz
el 4 de Nov. de 2019
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 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Environment and Settings en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!