MatLab not recognising compilers on Ubuntu 12.10

1 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Introduction 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