restoredefaultpath: System error

Trying to restore default path, but I am resciving this error. Do not know how to fix, tried reinstalling matlab/simulink
>> restoredefaultpath
Error using restoredefaultpath (line 41)
System error:
Command executed: "C:\Program Files\MATLAB\R2017b\sys\perl\win32\bin\perl.exe" "C:\Program
Files\MATLAB\R2017b\toolbox\local\getphlpaths.pl" "C:\Program Files\MATLAB\R2017b"

2 Comments

Did you do a clean re-install? I.e., did you delete the entire Matlab installation folder first? If not, I recommend that.
Yes I did. I figured it out, I could not open matlab using desktop shortcut, but using the matlab.exe.

Sign in to comment.

Answers (0)

Categories

Asked:

on 26 Feb 2019

Edited:

on 13 Feb 2026 at 12:29

Community Treasure Hunt

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

Start Hunting!