Simulink Test baseline data from excel
9 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Pawel Kajak
am 5 Okt. 2017
Beantwortet: haotian zhang
am 8 Mär. 2019
I'm having a problem with using data from an Excel sheet within my example baseline test in Simulink. The test fails with Baseline Criteria Result of "Signal did not align". Can you give me any clue on what might be the problem here. All files in attachment. Thanks.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/167904/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/167905/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/167906/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/167907/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/167908/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/167909/image.jpeg)
0 Kommentare
Akzeptierte Antwort
Abhishek
am 17 Nov. 2017
I guess there can be two ways to fix this. Change "Out1" to "Out1:1" in the excel file so that the signal name matches with what the simulation is producing. The other way could be to log the output signal. The root cause is the extra ":1" which gets added for Output ports.
0 Kommentare
Weitere Antworten (2)
haotian zhang
am 8 Mär. 2019
I have the same problem. Change "Out1" to "Out1:1" solves the problem
0 Kommentare
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!