Main Content

Check for double data types in the model

Check ID: com.mathworks.HDL.ModelChecker.runDoubleDatatypeChecks

Check ID: com.mathworks.HDL.ModelAdvisor.runDoubleDatatypeChecks

Check for double data types in the model.

Description

This check detects whether your Simulink® model uses double data types and displays a warning if Use Floating Point is not selected.

Available with Simulink, HDL Coder™, Fixed-Point Designer™, and MATLAB® Coder™.

Results and Recommended Actions

To fix this warning, enable Use Floating Point configuration setting for your model. You can then rerun the check.

Capabilities and Limitations

  • Runs on floating-point library models.

  • Analyzes content in all masked subsystems.

  • Analyzes only the functions that the Simulink model directly references.

See Also