execute SCRIPT feature as a function:

2 views (last 30 days)
Rd
Rd on 17 Jul 2020
Commented: Rd on 17 Jul 2020
I cant find why the below error is occur
Attempt to execute SCRIPT feature as a function:
/MATLAB Drive/maximum curvature feature/feature.m
Error in connector.internal.fevalJSON
Error using system_dependent
Attempt to execute SCRIPT feature as a function:
/MATLAB Drive/maximum curvature feature/feature.m
Error in userpath (line 56)
p = system_dependent('getuserworkfolder');

Accepted Answer

Steven Lord
Steven Lord on 17 Jul 2020
feature is an undocumented built-in function in MATLAB. Rename your feature.m file that is shadowing that built-in function.
  1 Comment
Rd
Rd on 17 Jul 2020
you are absolutely correct.thanks for your response.

Sign in to comment.

More Answers (0)

Categories

Find more on Get Started with MATLAB 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!