Matlab Define Function In Script