MatLab not recognising compilers on Ubuntu 12.10

1 回表示 (過去 30 日間)
Christopher
Christopher 2014 年 6 月 24 日
回答済み: Ken Atwell 2014 年 6 月 27 日
At the end of the installation process I am told that I need compilers installed for MatLab compiler to work and given a link to the supported compilers. However, I have both gcc and g++ (gpp) installed with the latest versions. If I click "next" and activate MatLab anyway, it does not show up as a program anywhere on my computer. Is there any way to fix this?
  2 件のコメント
Chaitra
Chaitra 2014 年 6 月 26 日
編集済み: Chaitra 2014 年 6 月 26 日
What do you mean by "it does not show up as a program anywhere on my computer"? Can you try compiling a program and tell me if its successful?
You can compile a program using >> mex prog_name.c
Image Analyst
Image Analyst 2014 年 6 月 26 日
Do you mean the MATLAB program (or its icons) don't show up anywhere on your computer after the installation program has totally finished?

サインインしてコメントする。

回答 (1 件)

Ken Atwell
Ken Atwell 2014 年 6 月 27 日
I think the compiler message is a red herring here.
Typically, the installer will put a link at /usr/local/bin/matlab; here is what the installer did on my Ubuntu system:
local@ubuntu:~$ ls -l /usr/local/bin/matlab
lrwxrwxrwx 1 root root 35 Feb 10 22:28 /usr/local/bin/matlab -> /usr/local/MATLAB/R2013b/bin/matlab
So, assuming /usr/local/bin is on your search path, "matlab" from a Terminal window should be sufficent to start MATLAB. If you find a Launcher icon more convenient, you can create one by right-clicking on the MATLAB icon that appears after you start it and selecting "Lock to Launcher".

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by