How do write a function within the same main code
Mostrar comentarios más antiguos
Hello everybody,
I want to know if it is possible to write a function within the same main code rather than write it in separate M file.
Thanks in advance for any help.
Respuesta aceptada
Más respuestas (1)
Paulo Silva
el 8 de Abr. de 2011
1 voto
yes with subfunctions
1 comentario
Matt Tearle
el 9 de Abr. de 2011
Or nested functions
Categorías
Más información sobre Holidays / Seasons 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!