个人工具

“UbuntuHelp:MATLAB/zh”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
(创建新页面为 '{{From|https://help.ubuntu.com/community/MATLAB}} {{Languages|UbuntuHelp:MATLAB}} Parent page: Programming Applications == Introduction == MATLAB® i...')
 
第1行: 第1行:
 +
{{Translation}}
 
{{From|https://help.ubuntu.com/community/MATLAB}}
 
{{From|https://help.ubuntu.com/community/MATLAB}}
{{Languages|UbuntuHelp:MATLAB}}
+
{{Translator|xsoul}}
 +
{{Languages|UbuntuHelp:MATLAB}}P
 
Parent page: [[UbuntuHelp:Programming| Programming Applications]]
 
Parent page: [[UbuntuHelp:Programming| Programming Applications]]
== Introduction ==
+
== 介绍 ==
MATLAB® is a high-level language and interactive environment that enables you to perform computationally intensive tasks faster than with traditional programming languages such as C, C++, and Fortran.
+
MATLAB® 是一门高级的语言以及一个交互环境,能够比传统编程语言如C, C++和Fortran更快完成繁重计算任务。
You can use MATLAB in a wide range of applications, including signal and image processing, communications, control design, test and measurement, financial modeling and analysis, and computational biology. Add-on toolboxes (collections of special-purpose MATLAB functions, available separately) extend the MATLAB environment to solve particular classes of problems in these application areas.
+
MATLAB 广泛应用于信号及图像处理,信息交流,控制设计,测试及测量,经济模型与分析,以及计算生物学。附属工具箱(处理特定工作的MATLAB函数的集合,可独立获取)的应用使MATLAB能够处理上述应用领域内的特殊问题。
MATLAB provides a number of features for documenting and sharing your work. You can integrate your MATLAB code with other languages and applications, and distribute your MATLAB algorithms and applications.
+
MATLAB 提供许多记录及分享你的工作的功能。你可以将MATLAB代码与其他语言及应用程序集成,分发你的MATLAB算法和程序。
== MATLAB R2009a Installation Instructions ==
+
== MATLAB R2009a 安装步骤 ==
These are very preliminary instructions. The will be improved in the next few days. You will need superuser privileges. Right now the assumption is that MATLAB install files are in '''~/R2009a'''.
+
以下是非常简易的步骤,几天后将会有改进。你将需要超级用户的权利。现假设MATLAB安装文件位于"~/R2009a".
1. Create the directory MATLAB will be installed to. It is recommended that you use '''/usr/local/matlabR2009a''':
+
1. 新建MATLAB将被安装到的目录。建议你使用 "/usr/local/matlabR2009a":
  
 
<pre><nowiki>
 
<pre><nowiki>
 
sudo mkdir /usr/local/matlabR2009a
 
sudo mkdir /usr/local/matlabR2009a
 
</nowiki></pre>
 
</nowiki></pre>
2. Change your working directory to the directory MATLAB will be installed to:
+
2. 进入该目录:
  
 
<pre><nowiki>
 
<pre><nowiki>
 
cd /usr/local/matlabR2009a/
 
cd /usr/local/matlabR2009a/
 
</nowiki></pre>
 
</nowiki></pre>
3. Run the MATLAB installer:
+
3. 运行MATLAB安装程序:
  
 
<pre><nowiki>
 
<pre><nowiki>
 
sudo sh ~/R2009a/install  
 
sudo sh ~/R2009a/install  
 
</nowiki></pre>
 
</nowiki></pre>
'''DO NOT START MATLAB AT THE END OF PRODUCT ACTIVATION'''
+
"在产品激活后不要开启MATLAB"
''Starting MATLAB at the end of Product Activation creates a permissions problem for storing MATLAB preferences.''
+
"在产品激活后开启MATLAB会产生存储MATLAB设置的权限问题。"
4. Run MATLAB's post installation script:
+
4. 运行MATLAB的完成安装脚本:
  
 
<pre><nowiki>
 
<pre><nowiki>
 
sudo /usr/local/matlabR2009a/install_matlab
 
sudo /usr/local/matlabR2009a/install_matlab
 
</nowiki></pre>
 
</nowiki></pre>
=== Create A MATLAB Launcher ===
+
=== 建立一个MATLAB桌面快捷方式 ===
1. Get an icon:
+
1. 获取图标:
  
 
<pre><nowiki>
 
<pre><nowiki>
 
sudo wget http://upload.wikimedia.org/wikipedia/commons/2/21/Matlab_Logo.png -O /usr/share/icons/matlab.png
 
sudo wget http://upload.wikimedia.org/wikipedia/commons/2/21/Matlab_Logo.png -O /usr/share/icons/matlab.png
 
</nowiki></pre>
 
</nowiki></pre>
2. Get the launcher file:
+
2. 获取桌面快捷方式文件:
  
 
<pre><nowiki>
 
<pre><nowiki>
 
sudo wget 'https://help.ubuntu.com/community/MATLAB?action=AttachFile&do=get&target=matlab.desktop' -O /usr/share/applications/matlab.desktop
 
sudo wget 'https://help.ubuntu.com/community/MATLAB?action=AttachFile&do=get&target=matlab.desktop' -O /usr/share/applications/matlab.desktop
 
</nowiki></pre>
 
</nowiki></pre>
=== Possible Problem ===
+
=== 可能遇到的问题 ===
When you launch your MATLAB Desktop you might see an error message similar to the following:  
+
当你启动MATLAB窗口,你可能看见与以下相似的错误信息:  
 
<pre><nowiki>
 
<pre><nowiki>
 
The desktop configuration was not saved successfully
 
The desktop configuration was not saved successfully
第48行: 第50行:
 
Check file permissions.
 
Check file permissions.
 
</nowiki></pre>
 
</nowiki></pre>
You can resolve this by exiting all instances of MATLAB and issuing the following command in your terminal:
+
解决办法是,退出所有MATLAB程序,在终端中输入以下命令:
 
<pre><nowiki>
 
<pre><nowiki>
 
sudo chown -R ${USER}:${USER} ~/.matlab
 
sudo chown -R ${USER}:${USER} ~/.matlab
 
</nowiki></pre>
 
</nowiki></pre>
== External Links ==
+
== 外部链接 ==
For more information about MATLAB see the following links
+
进一步了解MATLAB
 
* < http://www.mathworks.com/ > - MathWorks - MATLAB and Simulink for Technical Computing.
 
* < http://www.mathworks.com/ > - MathWorks - MATLAB and Simulink for Technical Computing.
 
* < http://www.mathworks.com/products/matlab/ > - MATLAB - The Language Of Technical Computing
 
* < http://www.mathworks.com/products/matlab/ > - MATLAB - The Language Of Technical Computing

2009年10月3日 (六) 17:08的版本

P Parent page: Programming Applications

介绍

MATLAB® 是一门高级的语言以及一个交互环境,能够比传统编程语言如C, C++和Fortran更快完成繁重计算任务。 MATLAB 广泛应用于信号及图像处理,信息交流,控制设计,测试及测量,经济模型与分析,以及计算生物学。附属工具箱(处理特定工作的MATLAB函数的集合,可独立获取)的应用使MATLAB能够处理上述应用领域内的特殊问题。 MATLAB 提供许多记录及分享你的工作的功能。你可以将MATLAB代码与其他语言及应用程序集成,分发你的MATLAB算法和程序。

MATLAB R2009a 安装步骤

以下是非常简易的步骤,几天后将会有改进。你将需要超级用户的权利。现假设MATLAB安装文件位于"~/R2009a". 1. 新建MATLAB将被安装到的目录。建议你使用 "/usr/local/matlabR2009a":

sudo mkdir /usr/local/matlabR2009a

2. 进入该目录:

cd /usr/local/matlabR2009a/

3. 运行MATLAB安装程序:

sudo sh ~/R2009a/install 

"在产品激活后不要开启MATLAB" "在产品激活后开启MATLAB会产生存储MATLAB设置的权限问题。" 4. 运行MATLAB的完成安装脚本:

sudo /usr/local/matlabR2009a/install_matlab

建立一个MATLAB桌面快捷方式

1. 获取图标:

sudo wget http://upload.wikimedia.org/wikipedia/commons/2/21/Matlab_Logo.png -O /usr/share/icons/matlab.png

2. 获取桌面快捷方式文件:

sudo wget 'https://help.ubuntu.com/community/MATLAB?action=AttachFile&do=get&target=matlab.desktop' -O /usr/share/applications/matlab.desktop

可能遇到的问题

当你启动MATLAB窗口,你可能看见与以下相似的错误信息:

The desktop configuration was not saved successfully
Cannot write to preference file "matlab.prf" in "/home/username/.matlab/R2009a".
Check file permissions.

解决办法是,退出所有MATLAB程序,在终端中输入以下命令:

sudo chown -R ${USER}:${USER} ~/.matlab

外部链接

进一步了解MATLAB