Check for Trigonometric Function block for LUT-based approximation method
Check ID:
com.mathworks.HDL.ModelChecker.runUnsupportedLUTTrigFunChecks
Check
ID:com.mathworks.HDL.ModelAdvisor.runUnsupportedLUTTrigFunChecks
Check for Trigonometric Function blocks in a model that use an approximation method based on lookup tables (LUT).
Available with Simulink® and HDL Coder™.
Description
This check displays a warning if your Simulink model contains Trigonometric Function blocks that have
Function set to atan2
and
Approximation method set to
Lookup
.
Results and Recommended Actions
To fix this warning, set Approximation method to
CORDIC
for Trigonometric Function
blocks that have Function set to
atan2
.
Capabilities and Limitations
Runs on library models
Analyzes content in all masked subsystems
Allows exclusions of blocks and charts
Does not analyze the content of library linked blocks