Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个为控制台应用程序和 MATLAB MEX 文件编译的 C 文件。我希望在为 MEX 编译时排除部分代码。definition在 MEX 编译期间是否可以检查?
definition
Mex 文件需要MATLAB_MEX_FILE定义预处理器符号。
MATLAB_MEX_FILE