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 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