matlab 安装完了又叫安装,关于MatLab安装完之后的配置说明

转自 http://blog.sina.com.cn/s/blog_3ebc3c2901018v59.html

最近两天被MatLab搅得是鸡飞狗跳。先是在Mac下的2012a莫名其妙的启动之后,CPU占有率飙升超过100%,完全没法用,连用个logo命令都不得安生。无奈重装。同样问题。烦!暴走回Windows。今天安装完Windows的2011a版之后发现有这样一个配置说明:

1. The following products require a supported

compiler:

MATLAB Compiler 4.15

MATLAB Builder NE 4.0

MATLAB Builder JA 2.2.2

MATLAB Builder EX 2.0

Stateflow 7.7

Simulink Coder 8.0

xPC Target 5.0

MATLAB Coder 2.0

2. Simulink requires a C compiler for simulation acceleration,

model reference, and MATLAB Function Block 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.4

Fixed-Point Toolbox 3.3

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.

乍一看还以为是编译器出了问题。赶紧上网搜了一搜。MathWorks的网页上有这样一份说明。原文链接如下:

Supported and Compatible Compilers – Release

2012a

A number of MathWorks products or product features require that

you have a third-party compiler installed on your system. The

tables below outline the compilers that are supported by various

MathWorks products. These compilers are provided by a number of

vendors and are available under a variety of commercial, academic,

or open source terms; visit the providers' Web sites for further

information.

Windows

(32-bit)

On 32-bit Windows, the lcc C compiler is installed along with

MATLAB, providing out-of-the-box support for most MathWorks

products. Further options are available as outlined in this

table.

MATLAB Product Family – Release 2012a

MATLAB

MATLAB Compiler

MATLAB Builder EX

MATLAB Builder NE

MATLAB Builder JA

MATLAB Coder

SimBiology

Fixed-Point Toolbox

Compiler

For MEX-file

compilation and external usage of MATLAB Engine and MAT-file

APIs

For C and C++

shared libraries

For all

features

For all

features

For all

features

For all

features

For accelerated

computation

For accelerated

computation

lcc-win32

v2.4.1

Included with MATLAB

Intel C++

Composer XE 2011

Open Watcom C/C++

v1.8 Available at no charge

Intel Visual

Fortran Composer XE 2011

Microsoft .NET Framework

SDK 2.0, 3.0, 3.5

Available at no charge

√ 4,

Simulink Product Family – Release 2012a

Simulink

Simulink

Simulink

Stateflow

Simulink Coder

Embedded Coder

xPC Target

Simulink Code

Inspector

Compiler

For S-Function

compilation

For model

referencing, Accelerator mode, and MATLAB Function

blocks

For Rapid

Accelerator mode

For all

features

For all features

When targeting

the host OS

For all

features

For all

features

Lcc-win32

v2.4.1

Included with MATLAB

Intel C++

Composer XE 2011

Open Watcom v1.8

Available at no charge

Intel Visual

Fortran Composer XE 2011

Notes for the Windows (32-bit) Platform

Support for this version of this

compiler will be discontinued in a future release, at which time a

new version will be supported. Consult the platform road map for more information.

Support for C++ exception handling is

limited. You can find more information in Solution 1-4OKNSV.

Intel compilers depend on tools provided by Microsoft. The

following combinations are supported:

Microsoft

Visual Studio 2010

Professional (32-bit)

Microsoft

Windows SDK 7.1

Microsoft

Visual Studio 2008 SP1

Professional Edition (32-bit)

Microsoft

Visual Studio 2008

Shell

(32-bit)

Intel Visual C++ Composer XE 2011

Intel Visual Fortran Composer XE 2011

To build .NET components, a Microsoft

.NET Framework must be installed. The .NET Framework v3.0 does not

contain a framework-specific compiler; compatible components can be

built using the v2.0 compiler. The .NET Framework is automatically

installed by Visual Studio. It can also be downloaded from the

Microsoft Web site. To execute applications that use the resulting

.NET components, the target machine must have the matching .NET

Framework installed.

MATLAB Builder NE supports building

.NET assemblies but not COM objects when using the Microsoft .NET

Framework SDK without Microsoft Visual Studio.

Fortran compilers are supported with

Simulink only for creating Simulink S-Functions using the MATLAB

MEX command. The S-Functions can be used with normal and

accelerated simulations.

xPC Target supports Fortran code in

Simulink models using C-MEX wrapper S-Functions.

.sln project generation is not

supported when using the Microsoft Windows SDK.

MathWorks的意思其实就是说,如果你的Windows电脑装了Visual C++

2008或者Visual C++ 2010,再加上Java Development

Kit(JDK)1.6的话,那编译MatLab上的任何文件都没有问题了。

同样的情况也有Mac系统的说明,就是说Xcode +

JDK可以解决一切MatLab所需要的编译活儿了。

所以就算出现了前面的说明也不用紧张,没有VC++、JDK下载一个就是了。

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值