Simulink - how to change input target based on a signal test.

1 次查看(过去 30 天)
Hi everyone !
I can't found the solution to change my target during the simulation based on a signal.
I simulate the behavior of an autonomous car, it can now join a point with my feedback control. And now, I want to change the input target point, which can be store anywhere you want, when a signal value is bigger than 0.
What is the best method to do that ? I tried with "From Workspace" block, "from file", constant block with an array. With a MATLAB function with an increasing "n" variable...
I got always some problem.
Is anybody inspiring by my problem to give me a way to find a solution please ?

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Simulink 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by