I am using MATLAB Coder to generate C code for a Script which calls the "max" function. In 2018a, the generated code would contain an if-else condition to implement the "max" operation, but in 2018b it calls the "fmaxf" function. How do I revert to the earlier code generation behavior?
MATLAB: Is code generation behavior different in 2018b for the “max” function
c89c90c99coderconfigfmaxflibrarymathMATLABmatlab coderstandard
Related Question
- Using a ‘listbox’ in MATLAB R2015b, why do I receive the warning ‘Multiple-selection ‘listbox’ control requires that ‘Value’ be an integer within String range’
- How to create a pictogram in MATLAB
- Does MATLAB Coder give the error “??? Unknown compiler ‘mingw64’.”
- How to change the axis limit when I have 2 axes in the figure
- How to ensure that the generated code has C99 data types as opposed to built-in C data types during fixed point code generation
- Is implementing the “fft” formula in documentation giving me opposite sign for imaginary part
- How to generate MATLAB Coder code that does not use tbb libraries
- How to call Cygwin command pipeline with the MATLAB ‘system’ function
Best Answer