當前位置:首頁 » 編程軟體 » mexsetup找不到編譯器

mexsetup找不到編譯器

發布時間: 2023-06-07 15:37:40

Ⅰ matlab找不到外部編譯器vc6.0 急急急!!!

目前我解決了,就是要裝一個比較第一點版本的VS,比如你的matlab是2010版的,那麼你的VS版本最好是2008年的,我就是這么解決的,如果你的VS是2010年的,那麼你就裝一個2011或者2012年的matlab!不知道你們可以么?

Ⅱ simulink無法運行,說找不到編譯器。裡面沒用到c程序,只是寫了幾個matlab function

At the MATLAB command line, command
mex -setup

and select one of the compilers that shows up.

If no compilers show up, then you need to install a compiler. The appropriate
compiler to install will depend upon your MATLAB version and your operating
system and whether you are using 32 bit MATLAB or 64 bit MATLAB.

http://www.mathworks.com/support/sysreq/previous_releases.html

Ⅲ MATLAB mex 找不到編譯器怎麼辦

①選y後,MATLAB會列出當前機器上已經安裝的、且與當前MATLAB版本兼容的所有C編譯器,一般而言,MATLAB都會自帶一個LCC編譯器,然而LCC目渣消前僅支持32位的MATLAB,所以你的機器上沒有。

②選n後,MATLAB會列出所有與當前MATLAB版本兼容的C編譯器類型(不管你是否已經安裝,用於幫助用戶選擇合適的C編譯器),你機器上已經安裝的2個編譯器,VC6.0:MATLAB從R2010b之後不再支持,所以選項里看不到;而SDK7.1選n時可以看到([11]),但選y時沒有跳出,是因為MATLAB沒有正確定位SDK。

③解決方法:

方法一:如果以預設選項安裝了SDK7.1(不改變默認安裝路徑),可以嘗試輸入n後,選肢櫻擇 [14] (注意:是14,不是11!),強制定位該編譯器(網上有人用這種方法成功了:http://mlinking.blog.163.com/blog/static/185801922201331464626365/)

方法二:重新安裝MATLAB,安裝時選擇32位進行安裝,則自帶LCC編譯器。

方法三:選擇適配的VS版本,下載安裝後,重新配置MEX命令。

Ⅳ matlab mex -setup執行出錯,這是什麼錯誤應該怎麼操作

>> mex -setup
Please choose your compiler for building external interface (MEX) files:

Would you like mex to locate installed compilers [y]/n?
選擇n,後

Select a compiler:
[1] Intel C++ 11.1 (with Microsoft Visual C++ 2008 SP1 linker)
[2] Intel Visual Fortran 11.1 (with Microsoft Visual C++ 2008 Shell linker)
[3] Intel Visual Fortran 11.1 (with Microsoft Visual C++ 2008 SP1 linker)
[4] Intel Visual Fortran 10.1 (with Microsoft Visual C++ 2005 SP1 linker)
[5] Lcc-win32 C 2.4.1
[6] Microsoft Visual C++ 6.0
[7] Microsoft Visual C++ 2005 SP1
[8] Microsoft Visual C++ 2008 Express
[9] Microsoft Visual C++ 2008 SP1
[10] Microsoft Visual C++ 2010
[11] Microsoft Visual C++ 2010 Express
[12] Open WATCOM C++

[0] None

Compiler:
輸入安裝的VC編輯器選項,之後會提示VC的安裝地址,修正之,即可。

熱點內容
戰艦少女r紅茶腳本 發布:2025-02-12 04:05:05 瀏覽:465
峰火戰國伺服器什麼時候開 發布:2025-02-12 03:56:31 瀏覽:175
電腦配置慢怎麼解壓 發布:2025-02-12 03:52:18 瀏覽:716
androidsdk功能 發布:2025-02-12 03:43:07 瀏覽:87
阿里雲伺服器可以訪問外網嗎 發布:2025-02-12 03:42:20 瀏覽:880
腳本的生命周期順序 發布:2025-02-12 03:37:28 瀏覽:369
素數加密 發布:2025-02-12 03:37:27 瀏覽:803
ar源碼 發布:2025-02-12 03:32:04 瀏覽:656
閱圖文件夾 發布:2025-02-12 03:30:22 瀏覽:762
舊手機存儲資料 發布:2025-02-12 03:29:42 瀏覽:472