How do I determine the currently selected compiler before using the MEX command in MATLAB 7.0 (R14) and later?
5 次查看(过去 30 天)
显示 更早的评论
I would like to see which compiler is currently selected before issuing the MEX command in MATLAB 7.0 (R14) and later.
采纳的回答
MathWorks Support Team
2009-6-27
This enhancement has been incorporated in MATLAB 7.6 (R2008a). You can use the following command to get the currently selected compiler for MEX:
mex.getCompilerConfigurations
For more information on this topic, please visit the following website:
<http://www.mathworks.com/access/helpdesk/help/techdoc/index.html?/access/helpdesk/help/techdoc/ref/mex.getcompilerconfigurations.html>
For previous product releases, read below for any possible workarounds:
you can determine the currently selected compiler for MEX by viewing the following options files:
1. On Windows: mexopts.bat
2. On Linux/UNIX/Mac: mexopts.sh,
This is located in the preferences directory on your machine. The complete address of the preference directory can be obtained using the following command:
prefdir
To determine the currently selected compiler before using the MCC or the MBUILD command, open the following options files in the above directory:
1. On Windows: compopts.bat
2. On Linux/Unix/Mac: compopts.sh file
These option files contain the settings for the current compiler.
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Troubleshooting in MATLAB Compiler SDK 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!