Other Parts Discussed in Thread: TI-CGT, CONTROLSUITE
Hello guys,
I want to slowly increase or decrease the current Value to a Input-value.
My minimum input should be -100 and my maximum 100. I want the current value to rise/fall by 0.05 for a step.
In theory it's very simple, but i dont know how to implement it to my simulink model
//
If (Input<Output)
{
Output - - 0.05;
if(Input>Output)
{
Output=Input;
}
}
else If (Input>Output)
{
Output + + 0.05;
if(Input<Output)
{
Output=Input;
}
}
//
That's the path where i need it.
Best regards
Kevin


Code Generation