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

1 view (last 30 days)
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 ?

Answers (0)

Categories

Find more on Simulink in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!