System Test: Simulation time

I am using the System Test toolbox. I am running a matlab script within System Test to analyze test results of a Simulink simulation that was ran with some test vectors. In the Matlab script, I need to have a vector that corresponds to the system time - is there anyway to get the system time. I don't want to make it an output from the Simulink model - it would only be an output for system test and that doesn't seem a good reason to create it there.
Thanks!

댓글 수: 2

Ryan G
Ryan G 2012년 12월 7일
Is your system fixed-step or variable step? How do you set the simulation time? How do you define the test vectors?
TAB
TAB 2012년 12월 7일
What is your system time. Is it sample time of model or vector of sample times ?

댓글을 달려면 로그인하십시오.

답변 (1개)

Jens
Jens 2014년 1월 13일

0 개 추천

When you use TPT as testing tool it handles all timing for you.

카테고리

도움말 센터File Exchange에서 Verification, Validation, and Test에 대해 자세히 알아보기

제품

태그

질문:

2012년 12월 6일

답변:

2014년 1월 13일

Community Treasure Hunt

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

Start Hunting!

Translated by