Help with switch case on simulink ?
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hey everyone,
Attach is the subsystem I am working on.
So far what it does : The analog input pin from the arduino outputs a value from 0-800. I have two switch blocks. The bottom, switch 2 accepts the input from the arduino, and if it is higher than zero it carries PID ( med buc1) to the other switch else it if it is less than or equal to zero it carries PID (buc ) to the other switch. The other switch, switch1 carries PID (Ful buc1) if the arduino input is greater than 600 else if is not greater than 600 it carries PID (Med buc1).
I would like that if I am in PID (Ful buc1) or PID (med buc1) and I am increasing the value in the slider that it automatically goes to PID (buc) and uses it.
Kind Regards, Steve
1 comentario
Naty S
el 22 de Mzo. de 2015
Sorry but I didn't understand the problem. You want that if the Slider gain is above a specific value you want to choose the buc block?
Respuestas (0)
Ver también
Categorías
Más información sobre PID Controller Tuning 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!