Whats the use of an inline function (function at end of script)?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
ddd ppp
el 5 de Mayo de 2018
Comentada: ddd ppp
el 5 de Mayo de 2018
is the primary benefit not having extra function files for a script?
0 comentarios
Respuesta aceptada
Walter Roberson
el 5 de Mayo de 2018
Reducing the number of files is one benefit. Another is that the function becomes private to the script.
When routines are not too large, it can be easier to read them together when they are in the same file.
Más respuestas (0)
Ver también
Categorías
Más información sobre Function Creation 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!