| Communications Toolbox | ![]() |
When you create a Simulink model for use with BERTool, you must set it up so that the simulation ends when it either detects a target number of errors or processes a maximum number of bits, whichever occurs first. To learn more about this requirement, see Requirements for Models; for an example, see Example: Preparing a Model for Use with BERTool.
After creating your Simulink model, you set the target number of errors and the maximum number of bits in the Monte Carlo panel of BERTool.

Typically, a Number of errors value of at least 100 produces an accurate error rate. The Number of bits value prevents the simulation from running too long, especially at large values of Eb/N0. However, if the Number of bits value is so small that the simulation collects very few errors, then the error rate might not be accurate. You can use confidence intervals to gauge the accuracy of the error rates that your simulation produces; the larger the confidence interval, the less accurate the computed error rate.
You can also use the Stop button in BERTool to stop a series of simulations prematurely.
| Example: Using a Simulink Model with BERTool | Preparing Simulink Models for Use with BERTool | ![]() |
© 1994-2005 The MathWorks, Inc.