matlabのClassのコンストラクタ以外のmethodsは,C/C++と違って第一引数に対象のオブジェクト情報が来るようです.
mlclassmethods.m
classdef hogeclass
property
member
end
methods
function hogefunction(this)
this.member = hoge;
end
end
end
実行時は以下のコード
main.m
inst = hogeclass(); %インスタンスを生成
inst.hogefunction(); %Class定義では引数thisを記述するが,実行時は引数なし.