Matlab `localfunctions` function is undefined -
i have tried following advice from docs using localfunctions
function. when execute script in matlab command window gives following error:
>> athing() undefined function or variable 'localfunctions'. error in athing (line 2) fs = localfunctions;
in file thing.m
have written:
function fs = athing() fs = localfunctions; end function babo() end function hidden() end
i'm not sure else can try debug this. using matlab: 8.0.0.783 (r2012b).
localfunctions
introduced in r2013b. need update version of matlab r2013b or newer able use it.
at bottom of function reference documentation on mathworks website comment stating version introduced.
Comments
Post a Comment