Main Content

Check for single datatypes in the model

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

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

Check for single data types in the model.

Description

This check detects whether your Simulink® model uses single 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, click Modify Settings and the code generator selects Use Floating Point. 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