| Fixed-Point Blockset | ![]() |
Simulation Results
Using Simulink and the Fixed-Point Blockset, you can easily transition from a digital controller described in the ideal world of double precision numbers to one realized in the world of fixed-point numbers. The simulation approach used in this tutorial follows these steps:
The feedback controller simulation is performed with the Fixed-Point Blockset Interface tool. You launch the Interface tool by selecting the FixPt GUI block within the fxpdemo_feedback model, by selecting Fixed-Point from the Tools menu in the model window, or by typing
fxptdlg('fxpdemo_feedback')
at the command line. The four simulation trials are described in the following sections. The quality of the simulation results is determined by examining the input and output of the analog plant.
| Digital Controller Realization | Simulation 1: Initial Guess at Scaling | ![]() |