Signal Dimension Error WITHIN Default Simulink Cross Product Block

4 ビュー (過去 30 日間)
Bennett Harnisch
Bennett Harnisch 2020 年 3 月 24 日
回答済み: Fangjun Jiang 2020 年 3 月 24 日
I am repeatedly recieving errors from the Simulink Cross Product block. Both inputs are [3 x 1], yet I receive the following errors:
Error in port widths or dimensions. Output port 1 of 'Project/Subsystem1/Subsystem2/Subsystem3/Cross Product/Demux2' is a [3x1] matrix.
Component:Simulink | Category:Model error
Error in port widths or dimensions. Input port 1 of 'Project/Subsystem1/Subsystem2/Subsystem3/Cross Product/Add3' is a one dimensional vector with 1 elements.
Component:Simulink | Category:Model error
File path names changed for anonimity, otherwise exact copy & paste of error reports received in Diagnostic Viewer.
Here is a picture of the internal structure of the cross product block producing the error, with signal dimensions visible:
Does anyone have any intuition as to what might be the source of the problem?

回答 (1 件)

Fangjun Jiang
Fangjun Jiang 2020 年 3 月 24 日
I ssume you didn't make any change to the "Add" block. Don't specify the size or dimension of your downstream signal (where the Outport "y" is connected to).
Make a simple example, connect two constant blocks with rand(3,1) as the value to the Cross Product block to see if it has error.

カテゴリ

Help Center および File ExchangeSources についてさらに検索

製品


リリース

R2019a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by