Matlab Call Subroutine Function

This is my notes about how Matlab call subroutine. We could make them all static methods on a utility class. The functions will be globally referenceable by name, but you only need to manage one M-file. Please look at my sample code :

We can call the sub function in Matlab with command like this :

The sample code above show how simple call sub function in Matlab.

Source :
http://stackoverflow.com/questions/5973699/is-there-any-way-to-call-a-matlab-subfunction-from-the-outside-the-file

Leave a Reply

Your email address will not be published. Required fields are marked *

 

This site uses Akismet to reduce spam. Learn how your comment data is processed.