How can I compile a mexw64 file without running Matlab

4 ビュー (過去 30 日間)
Roine Andersson
Roine Andersson 2015 年 10 月 2 日
回答済み: Jan 2015 年 10 月 4 日
I have a project with several mexw32/mexw64 files. Usually I build those from Matlab, but I would like to be able to build them nightly from some scripts. How can I invoke mex to build those mexw-files without running Matlab itself? Is there a command line version of mex?
  1 件のコメント
Walter Roberson
Walter Roberson 2015 年 10 月 2 日
There is on OS-X and presumably on Linux. On OS-X it is at
fullfile(matlabroot, 'bin/mexsh')
such as /Applications/MATLAB_R2014a.app/bin/mexsh
I do not know for MS Windows

サインインしてコメントする。

回答 (1 件)

Jan
Jan 2015 年 10 月 4 日
You can compile Mex files from within MSVC compilers, see. e.g. http://coachk.cs.ucf.edu/GPGPU/Compiling_a_MEX_file_with_Visual_Studio2.htm . But I don't know, how to start this programmatically.
I use a Matlab script, which is started from a scheduled task to compile the Mex files.

カテゴリ

Help Center および File ExchangeMATLAB Compiler についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by