m files wont open 2019b

1 次查看(过去 30 天)
Nick Martucci
Nick Martucci 2021-7-1
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?

回答(2 个)

Amit Bhowmick
Amit Bhowmick 2021-7-1
Contact the developer of tool box for license issue

Nick Martucci
Nick Martucci 2021-7-1
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.

类别

Help CenterFile Exchange 中查找有关 Environment and Settings 的更多信息

产品


版本

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by