今天又遇到了一个奇怪错误
All functions in a script must be closed with an 'end'.
但是我在resample函数后面加了 end之后又报错
The function "getInterpMethod" was closed with an 'end', but at least one other function definition was not. All functions in a script must be closed with an 'end'.
其实我觉得不是end的问题,因为这个代码其他电脑是能跑通的
结果,检查比对resample函数,是我不知道什么时候改了resample这个函数,多了个he,可能是误打的
这样就好了
我觉得这个错误蛮神奇的,应该遇到的人并不多[笑cry]