Generating math expression LUT using variable from workspace
Show older comments
I am following this guide for creating a LUT for a custom math function: Replace a Custom Function with a Lookup Table - MATLAB & Simulink - MathWorks Nordic
I must ensure consistency between the model and the HDL code and therefore wish to pass a confgiuration parameter from the workspace to the math function, but the approach for doing this is unclear to me.
I see that the -globals flag is not supported by "fiaccel -float2fixed". I tried using the -args option, but this does not seem like the correct approach.
How can I pass a constant configuration parameter to the function used for generating the LUT?
Accepted Answer
More Answers (0)
Categories
Find more on Native Floating Point in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!