Problem with Repeating Sequence.
16 views (last 30 days)
Show older comments
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 Comments
Answers (1)
Ankit Bhatnagar
on 28 Jun 2017
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 Comments
See Also
Categories
Find more on Sources in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!