2015-06-23 80 views
0

我的输入文件是MATLAB安装错误14.04

mode=silent 
agreeToLicense=yes 
destinationFolder=/opt/mcr 
fileInstallationKey=xxxxx-xxxxx-xxxxx-xxxxx 
lmgrFiles=false 
lmgrService=false 
licensePath=/path/to/license 
product.MATLAB 

我运行命令这样

$ ./install -inputFile my_input.txt 

而这个错误出现

(Jun 23, 2015 06:23:19) Starting local product/component search in download directory 
(Jun 23, 2015 06:23:19) Searching for archives... 
(Jun 23, 2015 06:23:19) Reading /root/Downloads/MathWorks/R2015a/archives 
(Jun 23, 2015 06:23:19) 12 files found in /root/Downloads/MathWorks/R2015a/archives 
(Jun 23, 2015 06:23:19) Reading /root/Downloads/MathWorks/R2015a 
(Jun 23, 2015 06:23:19) 16 files found in /root/Downloads/MathWorks/R2015a 
(Jun 23, 2015 06:23:19) Reading /root/Downloads/MathWorks/R2015a/archives 
(Jun 23, 2015 06:23:19) 12 files found in /root/Downloads/MathWorks/R2015a/archives 
(Jun 23, 2015 06:23:19) Archive search complete. 40 total files found. 
(Jun 23, 2015 06:23:19) Assembling product list... 
(Jun 23, 2015 06:23:20) Completed local product/component search 
(Jun 23, 2015 06:23:20) Error: Unable to locate required installation files. 
Using a File Installation Key requires you run the installer from a MATLAB DVD or from a directory which contains files previously downloaded via the installer. 
To obtain the missing files, click Back on the previous screen and select Log in with a MathWorks Account or contact your MATLAB license administrator. 
(Jun 23, 2015 06:23:20) Exiting with status -2 
(Jun 23, 2015 06:23:21) End - Unsuccessful. 

我试图寻找,但不要”不知道如何捕捉这个错误。谁能帮我?

+0

试试这个'命令和apt-get安装MATLAB的GDF dynare与Matlab libpdl-IO-MATLAB-perl的MATLAB支持MATLAB支持-dev的matlab2tikz' – Virbhadrasinh

+0

@Virbhadrasinh我试过了。 E:Package'dynare-matlab'没有安装候选''E:Package'matlab-support'没有安装候选'我的上面的错误看起来是一样的。 – blaswan

+0

我必须通过这个链接安装,请参阅它可能对你有帮助>> http://www.quora.com/How-do-I-download-and-install-matlab-on-ubuntu-14-04 – Virbhadrasinh

回答

0

您可以使用这一行命令进行安装。

sudo apt-get install matlab-gdf dynare-matlab libpdl-io-matlab-perl matlab-support matlab-support-dev matlab2tikz