m files wont open 2019b

2 Ansichten (letzte 30 Tage)
Nick Martucci
Nick Martucci am 1 Jul. 2021
Beantwortet: Nick Martucci am 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?

Antworten (2)

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

Nick Martucci
Nick Martucci am 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.

Kategorien

Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange

Produkte


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by