Error in port widths or dimensions
Ältere Kommentare anzeigen
Hi everyone, I have a problem when running my simulink file. I have pid block and s-function block diagram in simulink file with the 11 outputs and 1 input. When I try to run this file I receive the following error for pid block:
Error in port widths or dimensions. Output port 1 of 'project1_simu/PID Controller' is a one dimensional vector with 11 elements
and the following error for s-function file:
Error in port widths or dimensions. Input port 1 of 'project1_simu/S-Function' is a one dimensional vector with 1 elements
How to solve this error?
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Block and Blockset Authoring finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!