I have a very large MATLAB class with a lot of methods and I would like to organize them to facilitate the source code maintenance.
So I was thinking to put each Class method in your own MATLAB file, like a pure function and then call the function inside the Class method like this:
classdef my_class < handle
function  = my_method1(obj, param1)
function  = my_method2(obj, param1, param2)
my_function2(obj.big_data, param1, param2)
So I will have 2 other files:
My question is:
Doing in that way, when I call the pure function MATLAB will pass the obj.big_data by reference or by value?
Inside these pure functions I'm not modifying the big_data property. This is read-only property.