Error using eval undefined function 'workspacefunc' for input arguments of type 'struct'
Show older comments
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
but my matlab shows only one file named pathdef.m like below
>> which -all pathdef
C:\Program Files\MATLAB\R2014b\toolbox\local\pathdef.m
>>
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.
4 Comments
H M Shahriar Parvez
on 17 Nov 2016
Problem solved. thanks
Alfredo Soldadinho
on 16 Feb 2017
i'm with the same problem, how you solved it?
Roshtha
on 27 Jul 2020
I could solve this issue by setting right owner permissions to pathdef.m file
Answers (0)
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!