Why do I get block errors (StartFcn and StopFcn: matrix dimensions must agree) with simulink signal builder?
조회 수: 2 (최근 30일)
이전 댓글 표시
Hey Guys,
I used the slvnvmakeharness - command to create a harness model. The signal builder in this harness model contains 156 signals, but I have to manipulate only a few.
So I created five different signal groups and changed the signals I needed to a constant 1 and square signals (values 1 and 0).
Four of the five groups run perfectly, but the fifth group causes the two errors mentioned in the heading.
The strange thing is, if I restart Matlab, it is possible, that the signal, which formerly caused the error, is fine, but another signal causes the exact same error.
I have redone the signals several times now, but every time at least one group does not run.
Does anyone have an explanation? Please help me.
댓글 수: 0
답변 (2개)
Jason
2014년 8월 28일
I'm currently getting the same error, although in my case it seems to manifest consistently on just one test/set of signals. I have not been able to debug, because the code that throws the error is a .p file and I can't see where the error is occurring.
댓글 수: 0
Fei Yuan
2015년 8월 28일
I got the same problem. At first just one group signals reported these errors. Later, all group signals reported these errors. After searching, I realized some unneeded points in the signal might cause the problem. I removed 2 unneeded points for a constant signal and solved the problem.
댓글 수: 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!