How can I define a variable input in a simulink model

4 visualizaciones (últimos 30 días)
Jasper Mattijs
Jasper Mattijs el 28 de Abr. de 2014
Respondida: Metin el 28 de Abr. de 2014
Hi
I made a model that simulates a car's position with speed and steering angle as input. So far I have used a constant steering angle but now I want to simulate a track. So I need a variable steering angle as a function of time as an input.
Does someone have any idea about this?
Thanks

Respuesta aceptada

Metin
Metin el 28 de Abr. de 2014
hi, you can use clock as an input of embedded matlab function and generate varible in function as you wish

Más respuestas (0)

Categorías

Más información sobre Modeling 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!

Translated by