Filter löschen
Filter löschen

S-function _Error in port widths or dimensions

2 Ansichten (letzte 30 Tage)
Kh zaa
Kh zaa am 10 Mai 2018
Bearbeitet: Kh zaa am 11 Mai 2018
hello everyone, i use S-Function block (with m file) in a simulink model. 71 measuring signals are passes to the input port of S-Function block through a Mux. the output port of block are connected to demux to pass 45 signals. the following error are returned:
`Invalid setting for output port dimensions of 'DN_77bus77bus/Mux'. The dimensions are being set to 71. This is not valid because the total number of input and output elements are not the same
Error in port widths or dimensions. Input port 1 of 'DN_77bus77bus/S-Function' is a one dimensional vector with 71 elements`.
please how i can solve this problem.

Antworten (0)

Kategorien

Mehr zu Block and Blockset Authoring finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by