Why does "matlab.codetools.requiredFilesAndProducts" find a syntax error in MathWork code?
4 次查看(过去 30 天)
显示 更早的评论
Hello all,
I tried to find the dependencies of a function/program I wrote, in order to clean up the folder of this program. The exectution of
[fList,pList] = matlab.codetools.requiredFilesAndProducts('myOwnFunction.m');
stops with an error I really do not understand:
Error using matlab.codetools.requiredFilesAndProducts (line 91)
MATLAB code 'C:\Program Files\MATLAB\R2021b\toolbox\coder\half\@half\half.p' contains the following syntax error(s):
Line 0 column 0 : Unable to open file 'C:\Program Files\MATLAB\R2021b\toolbox\coder\half\@half\half.p'. File is not a supported MATLAB code file.
How can I fix this issue?
3 个评论
采纳的回答
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!