早教吧 育儿知识 作业答案 考试题库 百科 知识分享

matlab的安装方法,我在安装matlabR2010B时,遇到了下面这种情况,不知怎么继续,这是安装过程中的情况:1.Thefollowingproductsrequireasupportedcompiler:MATLABCompiler4.14MATLABBuilderNE3.2MATLABBuilderJA2.2M

题目详情
matlab的安装方法,我在安装matlabR2010B时,遇到了下面这种情况,不知怎么继续,
这是安装过程中的情况:1.The following products require a supported compiler:MATLAB Compiler 4.14 MATLAB Builder NE 3.2 MATLAB Builder JA 2.2 MATLAB Builder EX 1.3 Stateflow 7.6 Real-Time Workshop 7.6 xPC Target 4.4
2.Simulink requires a C compiler for simulation acceleration,model reference,and Embedded MATLAB capabilities.It is recommended that you install a supported compiler on your machine.
3.To accelerate computations with the following products,a supported compiler is required:SimBiology 3.3 Fixed-Point Toolbox 3.2
4.To configure Real-Time Windows Target you must type rtwintgt -setup in a MATLAB command window.
5.After this installation is complete,you should continue with your configuration of the MATLAB Distributed Computing Server as outlined in the instructions obtained from www.mathworks.com/ distconfig.
6.You have installed xPC Target.Use the xPC Target Explorer GUI (type xpcexplr in the MATLAB Command Window) to correctly configure xPC Target with a valid compiler pathname.For further help,type doc xpcexplr.
7.Run mbuild -setup from MATLAB before using MATLAB Compiler or builder products.
▼优质解答
答案和解析
这个提示是说你的电脑里没有安装C编译器,这样的话使用MATLAB会出现一些问题:比如加速不能开启,因为我们知道MATLAB是一种解释语言,它的运行速度比C语言要慢.(有些matlab程序是以c言语的形式存储的,因此没有C的编译器,这些加速程序就不能用)
解决的方法很简单,安装C编译器就可以了.当然你现在可以不安装C编译器,等安装MATLAB后再安装相应的C编译器,或者直接使用matlab自带的编译器(不推荐使用自带的).等安装后,在命令窗格中输入 mbuild -setup 可设置相应的编译器就可以了.