User`s guide
4 Advanced Procedures
4-32
In your block diagram, you can do this as follows.
-10 to +10 Volts and Normalized Unipolar
From the Input range list, choose -10 to +10 V, and from the Block output
signal
list, choose Normalized unipolar. This example converts a normalized
bipolar value to volts, but you could also easily convert directly to another
parameter in your model.
-10 to 10 volts --> ([0 to 1] normalized - 0.5) * 20
In your block diagram, do this as follows.
Normalized Scaling for Analog Outputs
Analog outputs are treated in an equivalent manner to analog inputs.
If the voltage range on the D/A converter is set to
0 to +5 volts, and the Block
input signal
is chosen as Normalized bipolar, then a Simulink signal of
amplitude -1 results in an output voltage of 0 volts. Similarly, a Simulink
signal of amplitude +1 results in an output voltage of +5 volts.
-10 to 10 volts
-10 to 10 volts
20
-0.5
0 to +1