[問題] GUI的.m檔轉成EXE~~不能轉?? 已回收

看板MATLAB作者 (小寰)時間15年前 (2011/04/10 16:33), 編輯推噓1(101)
留言2則, 1人參與, 最新討論串1/1
R2010a的版本, 輸入 mcc -m test.m 之後 跑出以下: Select a compiler: [0] None Compiler: ======================== 輸入0之後~~ Compiler: 0 mbuild: No compiler selected. No action taken. C:\PROGRA~1\MATLAB\R2010A\BIN\MEX.PL: Error: No compiler options file could be found to compile source code. Please run "mbuild -setup" to rectify. Error: An error occurred while shelling out to mbuild (error code = 2). Unable to build executable (specify the -v option for more information). ??? Error using ==> mcc Error executing mcc, return status = 1 (0x1). ================================ 已經安裝過MCRInstaller.exe了~~ 為什編譯時卻沒有任何可以選?? 只能0..... PS.W7 64bit 0 安裝完MCRInstaller.exe之後~ 輸入 mcc -m test.m 沒有compiler可以選~ 可是桌電的XP 32bit的在安裝完MCR卻有compiler可以選~~ 這是為什麼?? -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.115.206.191 ※ 編輯: apple181818 來自: 140.115.206.191 (04/10 16:53)

04/11 15:47, , 1F
XP內建有VC++的編譯器, WIN7沒有...去抓VC.Net2008的編碼
04/11 15:47, 1F

04/11 15:48, , 2F
譯器來裝,再重開Matlab應該就有得選了
04/11 15:48, 2F
之前好像輸入過 mbuild -setup >>>n >>>然後有看到選2008>>Y>>>Y 可是設定好之後~~>>mccXXXX>>就直接跑出error~~沒得選~ 剛剛去抓VC++2010安裝之後~~再setup也一樣~~沒有2010可以選~~ 結果再輸入一次mccXXXX進去都不給我選~~直接跑出error 我該怎麼辦QAQ?? ※ 編輯: apple181818 來自: 140.115.206.191 (04/11 21:46)
文章代碼(AID): #1DeMjUuN (MATLAB)