當前位置:首頁 » 編程軟體 » 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的安裝地址,修正之,即可。

熱點內容
我的世界伺服器崩了重啟 發布:2025-05-14 16:09:37 瀏覽:44
android深拷貝 發布:2025-05-14 16:09:35 瀏覽:153
cf電腦版轉伺服器神器還在嗎 發布:2025-05-14 16:09:02 瀏覽:211
百度文庫伺服器如何搭建 發布:2025-05-14 16:09:00 瀏覽:248
安卓微信刪除的好友怎麼找回 發布:2025-05-14 16:08:56 瀏覽:706
iphone的訪問限制密碼忘記了怎麼辦 發布:2025-05-14 16:08:56 瀏覽:184
php對象轉換成數組 發布:2025-05-14 16:07:55 瀏覽:27
java服務端緩存 發布:2025-05-14 15:53:37 瀏覽:105
php判斷postget 發布:2025-05-14 15:34:24 瀏覽:357
linux查看電腦配置 發布:2025-05-14 15:32:07 瀏覽:317