MATLAB Answers

0

Error using eval undefined function 'workspacefunc' for input arguments of type 'struct'

Asked by NASEEB SINGH on 28 Jun 2016
Latest activity Edited by Bo
on 23 Sep 2017

Hello,

I'm using MATLAB2014b version and it was working well till yesterday. But, then I install Robotics Toolbox and add the path for it. So, now when I started it show error like this in dialogue box

Error using eval undefined function 'workspacefunc' for input arguments of type 'struct'

I have read many answers like

(1) http://in.mathworks.com/matlabcentral/answers/91560-why-do-i-receive-error-using-eval-when-i-start-matlab

but my matlab shows only one file named pathdef.m like below

    >> which -all pathdef
C:\Program Files\MATLAB\R2014b\toolbox\local\pathdef.m
>> 

(2) http://in.mathworks.com/matlabcentral/answers/195599-error-starting-matlab-r2015a

I changed the ownership to everyone but problem was still there.

I also tried restoredefaultpath command but it shows error like this

    >> restoredefaultpath
Error: File: restoredefaultpath.m Line: 32 Column: 62
Unexpected MATLAB operator.

Can anybody help me to resolve this issue.

  3 Comments

Open the "Set path" box by typing pathtool, and then try to remove the initial folder for startup. Hope it's helpful.

Sign in to comment.

0 Answers

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today