結果 : create function in matlab script