When I add a particular directory to my path (of a tool that was created by someone else), suddenly I cannot open any m files at all. even ones I created myself that are not from that tool. When I try to open them (or use edit filename) I get the error:
"fileparts requires a MAP_toolbox license"
I have tried 2016b and 2019b. I only get this error when using 2019b and I only get the error after adding the path. I can open the files in that tool if I don't add the path, but I havent checked every single file as there are many.
Is there a particular filetype that might cause this error?