A = input('矩阵A'); B = input('矩阵B'); try C = A * B catch lasterr end