Generated code (Embedded Coder) for Mod block generates expensive function call to rt_modf
Ältere Kommentare anzeigen
Using the built in math function block for the mod operation generates an expensive function call in the generated code.
I am using floating points and the desire is just to produce fmodf() as the result of code generation.
Anyone have any ideas? there do not seem to be any settings for this block related to CodeGen
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Texas Instruments C2000 Processors finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!