"Error in port widths or dimensions" 同时生成 1x3 和 3x3 矩阵
"Error in port widths or dimensions" while producting 1x3 and 3x3 matrices
名为 C
的 Matlab 函数生成一个 3x3 维度的矩阵。我必须使用由源 n_x
、n_y
、n_z
.
的多路复用器制作的矢量 1x3 来生成它
但是,运行 该模型会导致两个错误:
Error in port widths or dimensions. Invalid dimension has been
specified for input port 2 of 'untitled/Product'.
Error in port widths or dimensions. Output port 1 of 'untitled/C' is a
[3x3] matrix.
你能解释一下它有什么问题吗?
问题已解决。我所要做的就是交换生产块输入并在块设置中的 "Multiplication" 属性 中设置 Matrix*
值。
名为 C
的 Matlab 函数生成一个 3x3 维度的矩阵。我必须使用由源 n_x
、n_y
、n_z
.
但是,运行 该模型会导致两个错误:
Error in port widths or dimensions. Invalid dimension has been specified for input port 2 of 'untitled/Product'.
Error in port widths or dimensions. Output port 1 of 'untitled/C' is a [3x3] matrix.
你能解释一下它有什么问题吗?
问题已解决。我所要做的就是交换生产块输入并在块设置中的 "Multiplication" 属性 中设置 Matrix*
值。