MatLab not recognising compilers on Ubuntu 12.10

1 visualizzazione (ultimi 30 giorni)
Christopher
Christopher il 24 Giu 2014
Risposto: Ken Atwell il 27 Giu 2014
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 Commenti
Chaitra
Chaitra il 26 Giu 2014
Modificato: Chaitra il 26 Giu 2014
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 il 26 Giu 2014
Do you mean the MATLAB program (or its icons) don't show up anywhere on your computer after the installation program has totally finished?

Accedi per commentare.

Risposte (1)

Ken Atwell
Ken Atwell il 27 Giu 2014
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".

Categorie

Scopri di più su Introduction to Installation and Licensing in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by