request for rectifying error in simulink
조회 수: 3 (최근 30일)
이전 댓글 표시
I have developed a simulink file in matlab 2022a but when i connect a dc source it is showing error as incorrect matrix dimension. I am not using any matlab functions i th simulation only switches and dc source.
답변 (1개)
Ronit
2025년 6월 10일
Hello,
This type of error typically arises from a mismatch in signal or port dimensions rather than a problem with the DC source itself. Carefully checking the block inputs and using signal dimension displays can help quickly identify and resolve the issue.
- Ensure that all blocks connected to each other are working with signals of the same size.
- Check that all data inputs to the Switch block have the same dimensions.
I hope this helps resolves your query!
댓글 수: 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!