你的程序没有问题,在Matlab 2010a以上版本,都能通过。不知你用的是什么版本的? 错误的意思: Attempt to call constructor line with incorrect letter case 尝试调用不正确的字母(大小写)情况下的构造函数。