Unusual behaviour in model outputs recorded by SystemTest - a value for every outport, on every outport.
Show older comments
I have a model in SystemTest with a number of inports and outports.
With each timestep, the values for all the inputs are read in from an Excel spreadsheet.
Normally in my experience, for every timestep, one value for every outport is recorded.
What I am finding for a particular SystemTest is that many values are recorded for every outport, for every timestep. The number of values appears to correspond to the number of outports, so that if there is 5 outports, on every timestep all 5 outports have a 1x5 double each recorded as the result.
It's a discrete fixed step solver of sample time 0.01 - this corresponds to the size of each timestep in the spreadsheet of data.
Any ideas as to how to sort this or what might be causing the behaviour? Many thanks
4 Comments
James
on 8 Sep 2011
James
on 8 Sep 2011
Bart Addis
on 13 Sep 2011
Does the model behave this way without SystemTest? In other words, if you connect a scope to the output signals, what do you see?
James
on 14 Sep 2011
Accepted Answer
More Answers (0)
Categories
Find more on Sources in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!