I've just installed matlab 2019a and keep getting the same error where Matlab says it cannot save the pathdef.m file because it's write protected. When i choose to save to another location, and press close it keeps coming with the same question to store the pathdef.m elsewhere...? Is this a bug in 2019a?
More...