is it possible to write a function inside a script?
Mostrar comentarios más antiguos
is it possible to write a function inside a script? for example is it possible to put at the end of the script?
Respuesta aceptada
Más respuestas (2)
Lucijano Berus
el 19 de Mzo. de 2018
1 voto
calling subfunctions: https://www.coursera.org/learn/matlab/lecture/9N7ZS/subfunctions
1 comentario
Walter Roberson
el 19 de Mzo. de 2018
subfunctions are not relevant to the question of whether you can define a function inside a script.
John D'Errico
el 28 de Jun. de 2015
0 votos
Short answer: No.
Longer answer: Nnnnnooooo.
Not much else I can say.
Categorías
Más información sobre Block and Blockset Authoring en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!