Programming and Data Types | ![]() ![]() |
Helper Functions
In designing a class, you may discover the need for functions that perform support tasks for the class, but do not directly operate on an object. These functions are called helper functions. A helper function can be a subfunction in a class method file or a private function. When determining which version of a particular function to call, MATLAB looks for these functions in the order listed above. For more information about the order in which MATLAB calls functions and methods, see How MATLAB Determines Which Method to Call.
![]() | Private Methods | Debugging Class Methods | ![]() |