MATLAB: Am I not able to remove network drive paths in the Set Path dialog box

MATLAB

I am unable to remove the network drive paths though I removed them and clicked the "Default" button in the Set Path dialog box.

Best Answer

1. Please make sure that the network drive paths are still shown after running the following commands.
>> restoredefaultpath
>> path
2. If you see the network drive paths again and again whenever launching MATLAB, please check if there is a startup.m by running the following command.
>> which -all startup.m
If you see any startup.m file paths, please remove any related to any setting commands on network drive paths in the startup file.
You can remove the network drive paths with the above 2 steps.