How can I define a variable input in a simulink model

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

 채택된 답변

Metin
Metin 2014년 4월 28일

1 개 추천

hi, you can use clock as an input of embedded matlab function and generate varible in function as you wish

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Simulink에 대해 자세히 알아보기

질문:

2014년 4월 28일

답변:

2014년 4월 28일

Community Treasure Hunt

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

Start Hunting!

Translated by