32位WIN7上安装完matlab后提示Simulink requires a C compiler for simulation acceleration MATLAB中如何设置编译器
matlab\u7684\u5b89\u88c5\u65b9\u6cd5,\u6211\u5728\u5b89\u88c5matlabR2010B\u65f6\uff0c\u9047\u5230\u4e86\u4e0b\u9762\u8fd9\u79cd\u60c5\u51b5\uff0c\u4e0d\u77e5\u600e\u4e48\u7ee7\u7eed\uff0c\u8bf7\u9ad8\u624b\u6307\u6559\u4e00\u4e0b\uff01\u8fd9\u4e2a\u63d0\u793a\u662f\u8bf4\u4f60\u7684\u7535\u8111\u91cc\u6ca1\u6709\u5b89\u88c5C\u7f16\u8bd1\u5668\uff0c\u8fd9\u6837\u7684\u8bdd\u4f7f\u7528MATLAB\u4f1a\u51fa\u73b0\u4e00\u4e9b\u95ee\u9898\uff1a\u6bd4\u5982\u52a0\u901f\u4e0d\u80fd\u5f00\u542f\uff0c\u56e0\u4e3a\u6211\u4eec\u77e5\u9053MATLAB\u662f\u4e00\u79cd\u89e3\u91ca\u8bed\u8a00\uff0c\u5b83\u7684\u8fd0\u884c\u901f\u5ea6\u6bd4C\u8bed\u8a00\u8981\u6162\u3002\uff08\u6709\u4e9bmatlab\u7a0b\u5e8f\u662f\u4ee5c\u8a00\u8bed\u7684\u5f62\u5f0f\u5b58\u50a8\u7684\uff0c\u56e0\u6b64\u6ca1\u6709C\u7684\u7f16\u8bd1\u5668\uff0c\u8fd9\u4e9b\u52a0\u901f\u7a0b\u5e8f\u5c31\u4e0d\u80fd\u7528\uff09
\u89e3\u51b3\u7684\u65b9\u6cd5\u5f88\u7b80\u5355\uff0c\u5b89\u88c5C\u7f16\u8bd1\u5668\u5c31\u53ef\u4ee5\u4e86\u3002\u5f53\u7136\u4f60\u73b0\u5728\u53ef\u4ee5\u4e0d\u5b89\u88c5C\u7f16\u8bd1\u5668\uff0c\u7b49\u5b89\u88c5MATLAB\u540e\u518d\u5b89\u88c5\u76f8\u5e94\u7684C\u7f16\u8bd1\u5668\uff0c\u6216\u8005\u76f4\u63a5\u4f7f\u7528matlab\u81ea\u5e26\u7684\u7f16\u8bd1\u5668\uff08\u4e0d\u63a8\u8350\u4f7f\u7528\u81ea\u5e26\u7684\uff09\u3002\u7b49\u5b89\u88c5\u540e\uff0c\u5728\u547d\u4ee4\u7a97\u683c\u4e2d\u8f93\u5165 mbuild -setup \u53ef\u8bbe\u7f6e\u76f8\u5e94\u7684\u7f16\u8bd1\u5668\u5c31\u53ef\u4ee5\u4e86\u3002
1. \u5b89\u88c5
\u5355\u72ec\u5b89\u88c5\u3001\u548cMATLAB\u540c\u65f6\u5b89\u88c5\u3002
2. \u8bbe\u7f6e\uff08\u4ee5vs2005\u4e3a\u4f8b\uff09
>> mbuild -setup
Please choose your compiler for building standalone MATLAB applications:
Would you like mbuild to locate installed compilers [y]/n? y
Select a compiler:
[1] Lcc-win32 C 2.4.1 in D:\PROGRA~1\MATLAB\R2010a\sys\lcc
[2] Microsoft Visual C++ 2008 SP1 in D:\Program Files\Microsoft Visual Studio 9.0
[3] Microsoft Visual C++ 2005 SP1 in C:\Program Files\Microsoft Visual Studio 8
[0] None
Compiler: 3
Please verify your choices:
Compiler: Microsoft Visual C++ 2005 SP1
Location: C:\Program Files\Microsoft Visual Studio 8
Are these correct [y]/n?
Trying to update options file: C:\Documents and Settings\Administrator\Application Data\MathWorks\MATLAB\R2010a\compopts.bat
From template: D:\PROGRA~1\MATLAB\R2010a\bin\win32\mbuildopts\msvc80compp.bat
Done . . .
3. \u4f7f\u7528
\uff081\uff09\u5728 MATLAB \u73af\u5883\u4e2d\u4f7f\u7528 mcc \u547d\u4ee4\uff1b
\uff082\uff09\u5728\u7cfb\u7edf\u547d\u4ee4\u73af\u5883\u4e2d\u4f7f\u7528 mcc.exe \uff08\u5728Windows\u4e0a\uff09\uff1b
\uff083\uff09\u5728 MATLAB \u73af\u5883\u4e2d\u4f7f\u7528 Deployment Tool\u3002
4. \u7a0b\u5e8f\u53d1\u5e03
\uff081\uff09\u4f7f\u7528 MATLAB \u547d\u4ee4 builder\uff1b
\uff082\uff09\u4f7f\u7528 Deployment Tool \u56fe\u5f62\u5316\u5de5\u5177\u3002
\u4e00\u822c\u6765\u8bf4\uff0c\u9700\u8981\u53d1\u5e03\u7684\u6587\u4ef6\u67093\u4e2a\uff1a
\uff081\uff09\u7f16\u8bd1\u5f97\u5230\u7684\u53ef\u6267\u884c\u6587\u4ef6\u6216\u5e93\u51fd\u6570\uff1b
\uff082\uff09CTF \u6587\u4ef6\uff1b
\uff083\uff09MCRInstaller.zip\u3002
\u5728\u6700\u7ec8\u7528\u6237\u7684\u8ba1\u7b97\u673a\u4e0a\uff0c\u9996\u5148\u9700\u8981\u628aMCRInstaller.zip \u89e3\u538b\uff0c\u5e76\u628a MCR \u4e2d\u53ef\u6267\u884c\u6587\u4ef6\u6240\u5728\u76ee\u5f55\u6dfb\u52a0\u5230\u7cfb\u7edf\u8def\u5f84\u4e0a\uff0c\u7136\u540e\u5c31\u53ef\u4ee5\u4f7f\u7528\u7f16\u8bd1\u540e\u7684\u7a0b\u5e8f\u4e86\u3002
一定要用虚拟光驱安装,安装好以后会打不开,这时选择兼容模式为VISTA TM,这样就可以打开了,如果在每次关闭MATLAB出现蓝屏的话在兼容性里勾选以管理员身份运行,这样就一切OK了。
一般情况下,你需要安装compiler,比如说vs,同时最好选手real-time workshop, Real-Time Workshop Embedded Coder,MATLAB Compiler ,MATLAB Builder NE (for Microsoft .NET Framework)
简单的方法是你从新运行安装文件,把我提到的几个工具箱勾选上。
WIN7中集成了好多服务软件。你可以忽略一下这个程序的安装试试。
绛旓細鍥犱负鎴戜滑鐢ㄧ殑閮芥槸鐩楃増鐨勶紝鏈夊彲鑳戒綘鍦╟opy鍒汉鐨刴atlaB瀹夎鍖呮椂浼氬嚭鐜伴敊璇傛渶濂借嚜宸变笅锛屽畨瑁呯殑鏃跺欎竴瀹氫笉瑕佸嚭鐜伴敊璇悗锛屽氨蹇界暐锛屾湁鏃舵湁鐨勯棶棰樺氨鏄偅涔堢殑绾犵粨锛佹參鎱㈣锛宮atlaB瑁呯殑鏃跺欏緢鎱紒
绛旓細updating material 鐨勬剰鎬濇槸 鈥滄洿鏂拌祫鏂欌