Main Content

Generate Test Data

Generate numerically rich data to test your designs

Use the fixed.DataGenerator and fixed.DataSpecification objects to generate simulation inputs to test the full operating range of your design. Test the numerical consistency of your algorithms with fixed-point and floating-point values, including edge cases such as values close to boundaries and denormal numbers. Generate a combination of signals of varying dimensions, complexity, and data types.

Functions

fixed.DataGeneratorCreates value set and generates data
fixed.DataSpecificationSpecify properties of data to generate
fixed.IntervalDefine interval of values

Topics

Compare Numerical Response of Sum Block and Sum in MATLAB® Function Block

Generate test data and examine numerical response of blocks.