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

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 件のコメント

H M Shahriar Parvez
H M Shahriar Parvez 2016 年 11 月 17 日
Problem solved. thanks
Alfredo Soldadinho
Alfredo Soldadinho 2017 年 2 月 16 日
i'm with the same problem, how you solved it?
Bo
Bo 2017 年 9 月 23 日
編集済み: Bo 2017 年 9 月 23 日
Open the "Set path" box by typing pathtool, and then try to remove the initial folder for startup. Hope it's helpful.
Roshtha
Roshtha 2020 年 7 月 27 日
I could solve this issue by setting right owner permissions to pathdef.m file

サインインしてコメントする。

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeIntroduction to Installation and Licensing についてさらに検索

質問済み:

2016 年 6 月 28 日

コメント済み:

2020 年 7 月 27 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by