what is it mex setup?

3 ビュー (過去 30 日間)
matan
matan 2014 年 6 月 1 日
コメント済み: Dhanyatha 2014 年 6 月 30 日
hi everyone.. I have a code which I need to check if it's work. I got an error : Error using loadlibrary (line253) A 'Selected' compiler was not found. You may need to run mex -setup. I really don't know first of all 1) what is it "mex setup" and why do I nees it? and second of all 2) what I need to do to make this mex setup to work?
thanks everybody Matan.
  1 件のコメント
Dhanyatha
Dhanyatha 2014 年 6 月 30 日
What version of MATLAB are you using?

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

回答 (1 件)

James Tursa
James Tursa 2014 年 6 月 1 日
The mex setup process will let MATLAB configure the proper compiler files for mexing your code. Do this at the MATLAB command line prompt:
mex -setup
Then press Enter
Then enter the number of the compiler you want to use (such as lcc if you are on a 32-bit machine).
Then press Enter again.
This is a one-time process. Once the compiler files are configured, you do not need to do this again unless you want to change compilers.

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by