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.

              enter image description here


Comments

Popular posts from this blog

html - Difficulties with background-image property -

visual studio code - What does the isShellCommand property actually do and how should you use it? -

ios - Segue not passing data between ViewControllers -