Problem with Repeating Sequence.
16 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (1)
Ankit Bhatnagar
el 28 de Jun. de 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 comentarios
Ver también
Categorías
Más información sobre Sources en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!