System Test: Simulation time

2 ビュー (過去 30 日間)
Jeff
Jeff 2012 年 12 月 6 日
回答済み: Jens 2014 年 1 月 13 日
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 日
When you use TPT as testing tool it handles all timing for you.

カテゴリ

Help Center および File ExchangeOutputs についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by