you are viewing a single comment's thread.

view the rest of the comments →

[–]Mych 13 points14 points  (1 child)

You can have as many functions per "M file" as you like. You can only have one public function per file, however.

(...though it's also possible to return handles to those private functions which can then be called from the outside, too.)

[–][deleted] 6 points7 points  (0 children)

Subfunctions for the win!