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.

Antworten (0)

Kategorien

Gefragt:

am 17 Dez. 2015

Community Treasure Hunt

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

Start Hunting!

Translated by