How do I DISABLE the OPTIMIZATION for Mexing code

1 view (last 30 days)
I am mexing Fortran code. I noticed different answers when I compile >>mex -g file1, file2,....... as oppose to >> mex file1, file2... Because the -g turns off optimization... How do I turn off the optimization without having the -g debug Option.

Answers (0)

Categories

Find more on MATLAB Compiler 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!