Signal Dimension Error WITHIN Default Simulink Cross Product Block
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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?
0 comentarios
Respuestas (1)
Fangjun Jiang
el 24 de Mzo. de 2020
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.
0 comentarios
Ver también
Categorías
Más información sobre Sources en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!