参考一下这个问答:https://ww2.mathworks.cn/matlabcentral/answers/1669664-error-using-stlwrite-function?s_tid=srchtitle_stlwrite_4
我知道了,我文件夹有个自定义重名函数