How do I DISABLE the OPTIMIZATION for Mexing code

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

Asked:

on 17 Dec 2015

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!