MATLAB打包java package时出现错误'Could not determine type of the MATLAB file 'music1_1.m'. '

MATLAB自带的函数打包java package可以正常执行,但是打包自定义的函数时出现错误。

mcc -W 'java:music1_1,Class1' -T link:lib -d F:\MATLAB\bin\music1_1\for_testing class{Class1:F:\MATLAB\bin\music1_1.m} 
Could not determine type of the MATLAB file 'music1_1.m'. Please make sure that you are compiling MATLAB Program files.

请问问题解决了吗?我也遇见了这个问题