MATLAB: How to edit the default path on install to fix an error

installMATLABpath error

I get a warning for non existent directory after install of MATLAB 2019 in Win 10
'Warning: Location C:\mydirectory\documents\matlabC:\Program Files\MATLAB\2019a\toolbox\matlab\general specified for a File or Folder is invalid '
where my directory is my local windows directory
I need to insert a newline into the default path to resolve the 2 directories which are curerntly run together

Best Answer

Found a pathdef.m file in the C:mydirectory\documents\MATLAB directory from a prior version of matlab that I was able to rename and this fixed the error