2015-06-23 68 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