mex cannot find gccopts.sh
Mostrar comentarios más antiguos
I'm trying to set up mex in MATLAB to compile with gcc but it appears that the options file for gcc (gccopts.sh) does not exist. mex does not find it nor can i find it under User/.matlab/R2013a
>> mex -setup
Options files control which compiler to use, the compiler and link command
options, and the runtime libraries to link against.
Using the 'mex -setup' command selects an options file that is
placed in /Users/Victor/.matlab/R2013a and used by default for 'mex'. An options
file in the current working directory or specified on the command line
overrides the default options file in /Users/Victor/.matlab/R2013a.
To override the default options file, use the 'mex -f' command
(see 'mex -help' for more information).
The options files available for mex are:
1: /Applications/MATLAB_R2013a.app/bin/mexopts.sh :
Template Options file for building MEX-files
0: Exit with no changes
Enter the number of the compiler (0-1):
Why don't my MATLAB have the gccopts.sh file and how can I get it?
1 comentario
Simen
el 11 de Feb. de 2014
I am having the same issue. Did you find a solution to this problem?
Respuestas (1)
Ankitkumar Maddewad
el 26 de Feb. de 2021
0 votos
Maybe you don't have minGW-w64 compiler installed on the system. check installing it from add-on.
Categorías
Más información sobre MATLAB Compiler en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!