How to fix error of didth of result when running simulink ?
1 view (last 30 days)
Show older comments
Hi,
I am trying to simulate a fuel system for a plane and have added new functions to a fuel control function block which controls what the system does. since adding new functions/ variables i now have the following error. I am fairly new to simulink so am unsure of this?![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/857180/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/857180/image.jpeg)
0 Comments
Answers (1)
Ninad
on 27 Sep 2023
Hi Ben,
The error indicates an issue with the 'FuelSystem/Fuel_Control' block. It expects a 30-element output signal but produces 39 elements.
Possible causes include incorrect block configuration, incompatible input signal dimensions, data type or scaling problems, and signal dimension mismatches with connected blocks.
To resolve it:
1) Verify block parameters and ensure correct configuration.
2) Check input signal dimensions and compatibility.
3) Review data types and scaling for consistency.
4) Ensure connected blocks have compatible signal dimensions.
I hope these steps will help you fix the issue.
Thanks,
Ninad.
0 Comments
See Also
Categories
Find more on Sources in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!