The warning that you are seeing, as well as the automatic generation of the Editor_vxdxq folder is an expected behavior. Essentially, this folder gets automatically created in the background by the Live Editor in MATLAB. When we open MATLAB R2020a this file gets created, if we call the "savepath" command after this, the folder will be saved to the path but it might not exist in the future when the path is reloaded again (hence you see the warning). That being said, there is no concern with the warning itself as the generation of this folder is handled by MATLAB. We have two options to resolve the warning:
1) Remove the "Editor_vxdxq" folder from the path and save it:
- Open MATLAB
- Enter the following command in the MATLAB Command Window:
- Use the Set Path dialog box to remove Editor_vxdxq folder from the path and click "Save"
- On the MATLAB Command Window, enter
After this you should not get the warning, and can ignore the generation of this file. Since this folder was meant to be temporary, removing it from the MATLAB path should not result in any unexpected side effects in the current MATLAB session. Should you need to save the search path again in the future, make sure to remove the temporary directory again if it appears before saving.
2) You can manually turn the warning off with the following command:
>> warning('off', 'MATLAB:mpath:nameNonexistentOrNotADirectory')
One thing to note is that we generally recommend against using the "savepath" command (unless advised by the MathWorks staff as part of a troubleshooting step) as it can have some serious consequences if an unintended file gets added to the path. To add additional items to the path, we recommend to instead use the "addpath()" command in the "startup.m" file. For more information, please see the following link: