Why do I get block errors (StartFcn and StopFcn: matrix dimensions must agree) with simulink signal builder?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (2)
Jason
am 28 Aug. 2014
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 Kommentare
Fei Yuan
am 28 Aug. 2015
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 Kommentare
Siehe auch
Kategorien
Mehr zu Sources finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!