Baseline Criteria: How to read discrete data from excel rather than continuous data.
2 ビュー (過去 30 日間)
古いコメントを表示
I am using baseline criteria to verify the model.I am stuck with one issue which is causing test case failure.
When i am trying to data output from excel,it's reading continous value like when value change from 1 to 3 wiith time terveral of 1sec then it should change without any slope.
Inshort there is any way to read daat at disctre point(time sampling = 1sec)
Below image have output data and graph.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1003755/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1003760/image.png)
I wanted to read data 1 to 3 as a direct jump rather than any slopy transition.
0 件のコメント
回答 (1 件)
Walter Roberson
2022 年 5 月 19 日
https://www.mathworks.com/help/simulink/slref/fromspreadsheet.html
configure Interpolation to "zero order hold"
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Data Import and Analysis についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!