有熟悉Simulink的高手帮忙看看,运行的报错有两条:
1)Error in port widths or dimensions. Output port 1 of 'mean_0525/Least Squares Polynomial Fit/Constant' is a [101x3] matrix.
2)Error reported by S-function 'sdspqreslv2' in 'mean_0525/Least Squares Polynomial Fit/QR Solver':
The number of rows of input A must match the number of rows of input B.
问题个人觉得就是在QR Solver上出现的A B矩阵不同,但是我不知道怎么更改....