How to export test manager results to a dataset programmatically when using Simulink Real Time?

4 views (last 30 days)
Luke Wheadon
Luke Wheadon on 30 Jan 2020
Answered: Jemima Pulipati on 9 Jul 2020
I would like to export signal data to the base workspace progamatically so that the data is in the same format as if i were to do it manually. So when a test case has finished all of its iterations, I can export all of the signal data to the workspace. I can see how to do this manually by clicking each iteration and exporting however this is very time consuming when I have many iterations. So I would like to automate the process. How can I do this?
I am using simulink real time with a speedgoat target computer.
I believe it is the same question as here:
However as I am using Simulink Real-Time I can not use the dataset format or sltest_simout in the cumstom criteria.

Answers (1)

Jemima Pulipati
Jemima Pulipati on 9 Jul 2020
From my understanding, you want to export test manager results to a dataset in an automated way when using Speedgoat Simulink Real-Time target computer.
You can use the Simulink Test API in a matlab script or function to automate the process of exporting the test results.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!