Error in port widths or dimensions.
9 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Error in port widths or dimensions. 'Output Port 1' of 'FuzzyPID/Add1' has 3 elements. This port does not accept the dimensions (or orientation) specified by the output signal.
and
Error in port widths or dimensions. Invalid dimension has been specified for 'Input Port 1' of 'FuzzyPID/Transfer Fcn'.
I am using MATLAB R2022b.
Would you mind for providing the solutions for above errors, please.
Thank you alot in advance.

2 Kommentare
Antworten (1)
Paul
am 14 Jan. 2024
If it makes sense that the outputs of each Fuzzy Logic Controller is 3, then there is a problem at the the output of the highlighted sum block. The output of that block would be of size 3, but the the follwing Transfer Fcn block can only accept scalar inputs. So you'd need to demux the output of the sum and apply a separate Transfer Fcn to each of the three individual scalar signals. But then it looks like all of the feedback loops might be intended to apply to scalar signals, so there will still be a problem of how to combine the three outputs from the Transfer Fcn blocks into a single scalar signal for the feedback.
Siehe auch
Kategorien
Mehr zu Fuzzy Logic in Simulink 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!