creating baselines in simulink test
显示 更早的评论
When i hit the capture button in the baseline section of the simulink test manager, the process works until it tries to load the .mat file. then it says 'The specified file does not contain any valid simulation data' If i try to save simulation data from the simulink data inspector as a .mat file it would give me the same error. and when i try to import the same file into the simulink data inspector nothing shows up.
All of these signals are logged signals.
Also, if i save the data as a workspace variable it loads back into the simulink data inspector(SDI) just fine.
this leads me to believe that something is not working when i save it as a .mat.
i am using 2017b and this problem started when upgrading to windows 10. initially thought that it was due to microsoft access being the defualt program for .mat files, but i fixed that and the problem persists.
采纳的回答
更多回答(1 个)
Jesús Zambrano
2020-4-1
编辑:Jesús Zambrano
2020-4-1
0 个投票
Use 'Capture' button if you want to record a baseline from the system under test. It will run the system under test and populate a table with the results of all those logged signals in the system. See an example here:
If you want to use some .mat (or Excel) file with data as baseline, use the 'Add' button.
类别
在 帮助中心 和 File Exchange 中查找有关 Outputs 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!