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

1 visualizzazione (ultimi 30 giorni)
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 ?

Risposte (0)

Categorie

Scopri di più su Simulink in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by