How to fix error of didth of result when running simulink ?
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Ninad
2023-9-27
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Sources 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!