Borrar filtros
Borrar filtros

Time based function simulink....

1 visualización (últimos 30 días)
Smith Steven
Smith Steven el 23 de Sept. de 2013
I need to make a time based function in Simulink with values between 0 and 1 for 1 day in 10min steps.... Anybody having an idea please help....

Respuesta aceptada

ES
ES el 23 de Sept. de 2013
stateflow will be ideal. But you should have stateflow licence (different from simulink licence) to use it. Otherwise construct a counter (you will have lots of samples), and then by comparing counter value to a thereshold, you can create output value.

Más respuestas (2)

ES
ES el 23 de Sept. de 2013
Are your output values discrete? I mean 1 and 0 only? In this case you can use a stateflow with two states 'on' and 'off' and a counter to move between the two states.
If your values are boundaries of continuous values, use a float output as a function (denominator factor) of the counter.
  1 comentario
Smith Steven
Smith Steven el 23 de Sept. de 2013
The values are boundaries of continuous values,,, which function block shall i use??

Iniciar sesión para comentar.


Smith Steven
Smith Steven el 23 de Sept. de 2013
Thank you.....

Categorías

Más información sobre Simulink Functions en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by