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

조회 수: 3 (최근 30일)
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
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개)

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by