Private Functions
After the locally defined functions, the precedence comes to private functions. A private function in MATLAB is a function that is stored in a subfolder named private, to limit the scope of that particular function. We shall not discuss the creation of private functions as it is not in this article’s scope.
Function Precedence Order in MATLAB
In this article, we shall discuss the function precedence order in MATLAB. The first thing to keep in mind is that the order explained below is defined for an individual scope (current workspace); it does not hold when there are multiple workspaces in play.
Now, let us explore the order individually.