I was trying to add a toolbox in MATLAB and instead of calling addpath('path')
, I called path('path')
.
Now I'm getting a lot of errors, like
if I initialize a variable, I get
Error using eval. Undefined function 'workspacefunc' for input arguments of type struct
Is there anyway I can restore the default MATLAB path/paths ?