m files wont open 2019b

3 views (last 30 days)
Nick Martucci
Nick Martucci on 1 Jul 2021
Answered: Nick Martucci on 1 Jul 2021
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?

Answers (2)

Amit Bhowmick
Amit Bhowmick on 1 Jul 2021
Contact the developer of tool box for license issue

Nick Martucci
Nick Martucci on 1 Jul 2021
I figured out my own problem... The tool had a function called "fileparts" that matlab was trying to use to open m files. Removing this function resloved the issue. However I am unsure why 2016b did not have the same issue.


Find more on Startup and Shutdown in Help Center and File Exchange




Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!