
Export Logged Signals While Using Test Manager
    8 views (last 30 days)
  
       Show older comments
    
Trying to figure out how to export the logged signals found under the "Results and Artifacts" tab after you run a test case in the Test Manager?
4 Comments
  Swarooph
    
 on 26 Jun 2017
				I am not well versed in Test Manager tbh. Perhaps this documentation link with a list of all "Test Results and Reporting" functions in Simulink Test will help you.
  Florian Keller
 on 28 Jun 2018
				I am still looking for a solution to export the logged signals to Matlab workspace. I dont need them for creating a report, but for further computing in Matlab. Until now, I only get the Metadata and general test data via getIterationResults, but not the timeseries of values computed.
Best regards and thanks in advance!
Answers (3)
  Swetha Murali
    
 on 20 Feb 2018
        Here is the command to generate a report using the command line, this has the options to "includeSimulationSignalPlots".
https://www.mathworks.com/help/sltest/ref/sltest.testmanager.report.html
0 Comments
  Dinesh Kundumani Krishnamoorthy
 on 4 Mar 2019
        Try with these,
res = sltest.testmanager.getResultSets;
tcr = getTestCaseResults(res);
runArray = getOutputRuns(tcr);
Alternatively, try working with predefined variable sltest_simout in "Callbacks > Cleanup"
1 Comment
  William Curry
 on 18 Dec 2019
				Once you get the runArray object can you export the logged signal data to a dataset? 
  Joel Gibbons
 on 20 Dec 2019
        How do you export sltest_simout in a cleanup callback?  I need to save to a file, but don't see a call that would work like testmanager.exportResults...
0 Comments
See Also
Categories
				Find more on Results, Reporting, and Test File Management 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!





