# Questions tagged [matlab]

MATLAB (matrix laboratory) is a numerical computing environment and fourth-generation programming language.

432
questions

**1**

vote

**1**answer

26 views

### Starting Matlab with error “Failed to load module ”canberra-gtk-module"

When I start Matlab (R2021a) on Ubuntu Focal Fossa I receive the error
"Failed to load module "canberra-gtk-module"
Re-Installing canberra-modules does not help.

**1**

vote

**1**answer

49 views

### Matlab with 2 icons on the dock in linux Ubuntu 20.04

I installed matlab R2021A and I found that when creating the matlab.desktop it generated problems, and it was that two icons appeared in the dock, I put matlab in favorites but when I opened it it did ...

**1**

vote

**0**answers

28 views

### How to add an icon for a file type .m (or any specific extension; Ubuntu 20.04)

I am working with MATLAB most of my time and I'd be happy to visually differ code files (.m), data files (.mat), figures (.fig). Quite an obvious thing that turns to be pretty peculiar.
Here I am now:
...

**1**

vote

**1**answer

38 views

### Is it possible to execute a MATLAB program without MATLAB software?

I've a MATLAB program without the software. How can I execute the program

**0**

votes

**1**answer

142 views

### How to install Matlab on linux server without admin rights

I want to install Matlab on the Ubuntu server where I don't have admin privileges. When I run sudo ./install from downloaded Matlab's folder it say user is not in the sudoers file. This incident will ...

**0**

votes

**1**answer

38 views

### Random pieces of text pasted in code files

Quite often, when I'm writing small programs in e.g. MATLAb or Atom/Juno (on Ubuntu 20.04), I get errors because a a certain variable is not recognized. Upon taking a closer look, the origin seems to ...

**1**

vote

**1**answer

46 views

### Install Ubuntu for large applications (SSD+HDD setup)

I have a Dell G5 notebook with two drives (256Gb SSD and 1Tb HDD).
I use it only for Ubuntu 20.04 (no dual-boot) and intend to keep it that way.
For the first installation, I was using the system ...

**1**

vote

**0**answers

48 views

### Basler gentl camera not detecting in Matlab 2020a

I am trying to use Basler acA1300-200uc in Ubuntu 20.04 through matlab and I have installed all the required add-ons for "gentl" adapter. Official pylonViewer software by basler detects the ...

**0**

votes

**0**answers

34 views

### a prob encountered when using apt-get [duplicate]

whatever I want to install I get the same problem in the pic and this because the other I tried to install the interface of MATLAB but I think it got stopped during the installationenter image ...

**1**

vote

**1**answer

131 views

### MATLAB interface configuration window pops up while trying to install packages

I am having an problem while installing any software using terminal, it's always giving me the same error message, it's showing "MATLAB interface configuration error" even I have not ...

**0**

votes

**0**answers

54 views

### Small view in MATLAB

I recently installed MATLAB 2020b version in my Ubuntu 20.04 OS, and the installation worked fine as intended; but the overall view of icons and tabs is very small when I open the application. I tried ...

**0**

votes

**0**answers

510 views

### How do I install OpenCV for python 3.7.9 in Ubuntu 20.04

I have the following configuration:
python --version
Python 3.7.9
python3 --version
Python 3.8.2
I must have this configuration so I can use python functions to call Matlab functions (according to ...

**0**

votes

**0**answers

275 views

### Ubuntu 20.04 terminal and terminator not opening

In order to use python to run Matlab scripts, I have downgraded my Python from 3.8 to 3.7. Here is my configuration for python3
me@me-server:~$ sudo update-alternatives --config python3
There is only ...

**0**

votes

**1**answer

62 views

### create launcher Icon - matlab

I installed Matlab (almost) according to the guide https://help.ubuntu.com/community/MATLAB. I chose the installation folder ~/opt/MATLAB instead of their chosen /usr/local/MATLAB. I also found that I ...

**0**

votes

**0**answers

28 views

### Matcaffe error installation error

i am trying to install matcaffe in ubuntu18.04 but i am getting the following error during compilation can some body help me how to solve this
make: /home/Desktop/MATLAB/bin/mexext: Command not found
...

**1**

vote

**1**answer

30 views

### matcaffe compilation error

i am trying to install caffe for matlab
while running make matcaffe i am getting the following error
some one help me how to resolve this error
but i have hdf5.h at usr/include/hdf5/serial/
./include/...

**5**

votes

**4**answers

2k views

### Steam 20.04 not working, while i have CUDA

I need Cuda 10.1, for PyTorch, TensorFlow, and MatLab. They don't support Cuda 11. I also need steam to play games.
Is there any way I can use Cuda's parallel processing while able to play games on ...

**0**

votes

**1**answer

105 views

### How to uninstall MATLAB

So I've looked around how to do this but so far haven't had luck. I've tried the command
sudo apt-get purge matlab-support
And then I tried this one, but I don't have a folder "lmdown". I ...

**8**

votes

**2**answers

2k views

### Why are some GUI fonts so small in Ubuntu 20.04? How can I fix them?

I installed MATLAB 2020 via a university license and I noticed the fonts are extra small. Additionally, upon startup of Ubuntu a GUI opens up for my password which is also very small. I don't have ...

**0**

votes

**1**answer

64 views

### XPS 13 (2015) Incredibly slow on Ubuntu 18.04.4 LTS

My Dell XPS 2015 used to work fine but lately (half year more or less),
it has been intolerably slow.
I usually run multiple firefox tab,spotify, and sometimes a Jetbrains IDE or Matlab.
If I try to ...

**1**

vote

**1**answer

90 views

### unable to load Web browser from matlab

I am running Matlab under Ubuntu 18.04 on a shared machine. I am running Matlab as root from my account.
The reason I am running it as a root is that my Matlab code does many processes that require ...

**0**

votes

**0**answers

42 views

### /usr/bin/ld: cannot find -lmat for matlab-fortran interface fintrf.h

I try to compile a matlab "fintrf.h" based fortran code with gfortran. Here is the compiling commands:
gfortran -mcmodel=medium -Ofast $1.F90 -I/mnt/f/MATLAB/extern/include/ -L/mnt/f/MATLAB/...

**6**

votes

**0**answers

316 views

### How do I fix poor performance in Matlab with an AMD R5 M330 GPU?

I've just upgraded to ubuntu 20.04 from 19.10.
The "problem" is while checking that the programs that I use daily are working, I find that Matlab gives me this error
javax.media.opengl....

**0**

votes

**1**answer

1k views

### Process gets killed with Out of Memory - How to limit memory for the process?

I have installed Matlab 2020a in Ubuntu 20.04. When trying to run a code the Matlab program is getting killed, but it runs in another system perfectly fine. Checking resources while running shows that ...

**0**

votes

**0**answers

58 views

### MATLAB compete remove from my laptop

How can I remove MATLAB completely which was installed in software center (Ubuntu 18.04 lts) . But I did not install any MATLAB software in my laptop. When I tried to remove MATLAB which was installed ...

**0**

votes

**0**answers

36 views

### Problems in launching matlab

Hi I'm quite new in ubuntu so forgive me if it is a stupid question.
I've tried to install matlab and have followed step by step all passages written in this link
https://linuxconfig.org/how-to-...

**0**

votes

**1**answer

37 views

### Trouble starting MATLAB via Alt+F2

I've recently installed MATLAB to /opt/matlab/R2016a and I've managed to give myself the privilidges to run it. Next I wanted to be able to run it from a terminal and or the Alt+F2 "quick command line"...

**2**

votes

**0**answers

837 views

### Error when building GCC 6.3.0 from source on Ubuntu 18.04

I tried to build GCC-6.3.0 from source following the official guide. I need this version because is the one required by the Matlab compiler. I was able to install GCC 7.4 (the default version of ...

**0**

votes

**1**answer

92 views

### I can't delete files from trash in gksudo nautilus

I installed MATLAB in root. But when I try to delete it from gksudo nautilus I do not have access in trash. I tried via terminal but still I can't do it.
How can I delete these files?

**0**

votes

**0**answers

127 views

### bash: syntax error near unexpected token '('

I am trying to use git for the first time and have been given some code to extract a file name from a MatLab script. I keep encountering this error, and if I remove the bracket after imread it does ...

**1**

vote

**0**answers

136 views

### Receive error “version `GLIBCXX_3.4.23' not found” while trying to reactivate Matlab License

I am trying to reactivate my license for Matlab and I am getting stuck because I cannot click on a link.
Here is the link that I cannot click on:
When I do try to click on the link, I get this error ...

**0**

votes

**1**answer

98 views

### Matlab 2019b installation issue

I installed Matlab 2019b and in the terminal it says finished, but when I try to run Matlab it's not there and when I press super and search for matlab there's nothing!

**0**

votes

**1**answer

96 views

### Install Matlab 2017 (UBUNTU 18.04)

I'm trying to install matlab for 2 days now . I've tried everything but all these mount commands are not working .
So finally I just got to the directory and pressed ./install on the install file .
I ...

**0**

votes

**0**answers

126 views

### Can't mount ISO file for MATLAB as loop device: Error: “failed to setup loop device” [duplicate]

I want to install Matlab 2018 in Linux. I tried running the following commands:
$ sudo mkdir -p /mnt/cdrom
$ sudo mount MatlabR2018b_LinuxX64_DVD1_downloader.ga.iso /mnt/cdrom -o loop
But I was ...

**0**

votes

**0**answers

33 views

### “lock to launcher” caused problem

I am using ubuntu 16.06
since I tried "lock to launcher" for MATLAB, the screen of MATLAB has become see through/transparent,
applying unlock did not work
thank you for your help

**0**

votes

**1**answer

3k views

### “CXXABI_1.3.8 not found” Ubuntu 19.04

I'm having an issue with a dependencie of the MatLab runtime, it say that the libstdc++.so.6 need CXXABI_1.3.8.
I've seen some post that propose ton install an old version of GCC by adding a PPA, the ...

**0**

votes

**1**answer

4k views

### How to fix error: Failed to load module “canberra-gtk-module”

I am running Ubuntu 18.04.3 LTS and when I launch MATLAB R2019b I get the following error:
Gtk-Message: 00:20:10.283: Failed to load module "canberra-gtk-module"
[0921/002013.995543:INFO:context.cpp(...

**0**

votes

**1**answer

122 views

### Permission denied to Matlab folder

I tried to compile matcaffe by running
sudo make matcaffe
The compilation was working fine, until I got this error:
/bin/sh: 1: /usr/local/MATLAB/R2014b/: Permission denied
Makefile:267: recipe for ...

**0**

votes

**0**answers

165 views

### Export LD_Preload result in no such file or directory even thought the file exist

I have problem with preloading compiled libraries. I tried to a path to caffe_.mexa64 in ~/.bashrc and it looks like this
# MATLAB
export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libtiff.so.5:/usr/lib/...

**0**

votes

**1**answer

148 views

### Need help installing matcaffe on ubuntu

I don't know if this is the correct to ask this but I am trying to use caffe on matlab to run some research project. So far I have succesfully do make matcaffe but I encountered error during make ...

**0**

votes

**1**answer

589 views

### PhotoRec extension customization is taking parts not defined in the signature

when i tried to recover my .m files which are considered as .txt for photorec. I tried to add my own extension. After creating .m file containing the word tic while in the .photorec.sig file i added ...

**0**

votes

**1**answer

417 views

### Failed to load modules Matlab R2019a

I have just installed Matlab R2019a on my Ubuntu 16.04LTS. When I run it from a terminal, I get the following GTK message:
Gtk-Message: 18:16:10.235: Failed to load module "overlay-scrollbar"
Gtk-...

**1**

vote

**1**answer

2k views

### libmwmclmcr.so cannot locate libXp.so.6 while it is installed

I tried to run a compiled matlab code which gave me the following error:
.....libmwmclmcr.so Error: libXp.so.6: cannot open shared object file: No such file or directory
I found here that newer ...

**2**

votes

**1**answer

144 views

### Issue when starting MATLAB from Terminal

I have installed a application (MATLAB) in Kubuntu and it is installed in /usr/local/bin.
If I type the name of the program in the terminal, it's not running and says that it did not find that ...

**2**

votes

**0**answers

408 views

### gnome keeps restarting on Ubuntu 18.04

On Ubuntu 18.04 I am keeping getting intermittent freezes (for like 10 seconds) while using applications like LYX and MATLAB. I went to the sys log and almost everytime that the applications freeze, I ...

**0**

votes

**1**answer

1k views

### how to get a launcher desktop icon for matlab R2019a [duplicate]

i am very new to Linux as a whole. I use an alienware 15 R2 with Ubuntu 18.04.2 LTS on it.
i have installed matlab R2019a in the folder /media/srikar/Code/Matlab.
The ./matlab code path is /media/...

**0**

votes

**1**answer

700 views

### hist(), plot() in octave shows blank screen

Code used:
x =
0.17860 0.85981 0.69683 0.56564 0.55712 0.68452 0.83126 0.11530 0.28621 0.75909
>>y
y =
4.28759 1.07059 1.53263 7.99441 0.98204 3.45242 4....

**0**

votes

**1**answer

588 views

### Ubuntu 18.04 freezes when starting up MATLAB

I recently installed MATLAB R2018b and experienced crashing on startup. Whenever I ran matlab from the terminal the splash would pop up for a few seconds, then the entire OS would freeze. I was forced ...

**1**

vote

**1**answer

367 views

### Run Application using Command without blocking Terminal

I have made some command (at /usr/bin) to Run Application like Matlab, Weka etc in Ubuntu 18.04 LTS. While using Matlab command, it holds the Terminal until I close Matlab or Terminal (if I close ...

**0**

votes

**0**answers

117 views

### How to Create a Command to open an Application like Matlab in Ubuntu 18.04 LTS [duplicate]

I am using Ubuntu 18.04 LTS. I have installed MATLAB which is in /usr/local/Matlab/R2018a/bin/matlab I want to create a COMMAND (like matlab) in Terminal, so that I can open MATLAB after running that ...