Problem with Repeating Sequence.
16 ビュー (過去 30 日間)
古いコメントを表示
I would like to simulate the time. So I use the Repeating Sequence to generate a Signal which goes from 0 to 24hrs (60*60*24) in the same time. So I entered for the time values: [0 60*60*24] and the same for the Output Values. It seems like that everything works fine, but when i am trying to Change my Simulation time in something greater that 6*10^6 the sequence changes... I will add some Pictures
I am not a professional user, I started working with Simulink and matlab few weeks ago... Can anyone help me?
<<
>>
0 件のコメント
回答 (1 件)
Ankit Bhatnagar
2017 年 6 月 28 日
Hi,
When you specify input sequence to Simulink you need to use a time vector and a data vector. So the vector only needs points where you want.
For example, The first column (0, 60*60, ..) corresponds to the times and the second column (T1, T2, ...) may correspond to the values at those times.
You can choose whether you want to interpolate between the values or hold them until the next reading. Thus, in the graph, there are no new values to plot, so its holding on to those.
See this for details on simulation time:
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Sources についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!