# Questions tagged [matlab]

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

439
questions

0
votes

0
answers

37
views

### Matlab installer error: Failed to create the specified folder. To continue, select a different folder

I'm currently installing Matlab on ubuntu 22.04 and, as announced in the title, when I try to install it in the path /usr/local/MATLAB/R2022a I get the following error:
Failed to create the specified ...

0
votes

1
answer

20
views

### Could uninstalling Matlab 2020b and matlab2021a affect my programming?

I'm trying to free up space on my Linux. Looking for what was taking up disc space I noticed that Matlab 2020b and matlab2021a are taking a significant amount of disc space (ca 60 GB). I do not use ...

0
votes

0
answers

314
views

### Error while opening matlab 2019 from ubuntu 20.04 terminal

I am getting following error when I open matlab from terminal of ubuntu 20.04.
libGL error: MESA-LOADER: failed to open iris: /usr/lib/dri/iris_dri.so: cannot open shared object file: No such file or ...

0
votes

1
answer

155
views

### "Matlab killed" message is showing while running matlab in Ubuntu 20.04.3

"Matlab killed" message is showing in the terminal while running matlab in Ubuntu 20.04.3. Please help me regarding this.

0
votes

0
answers

37
views

### I have recursively changed the ownership of /usr

Okay my first time asking here because I can't find a similar question and probably wrecked my OS, so I need urgent help.
Today in the morning I've tried to install the Robust Control Toolbox in ...

0
votes

1
answer

127
views

### Failure to load modules and drivers in Ubuntu 20.04

I recently installed Ubuntu 20.04 and MATLAB 2021b. In the middle of running a script, MATLAB crashes (there is nothing wrong with the script as it works perfectly fine in my MATLAB on Windows).
When ...

0
votes

0
answers

50
views

### How do I change the env var LD_LIBRARY_PATH by inserting the local path as the FIRST?

I am trying to solve a Matlab crash that I am experiencing by following this solution: https://www.mathworks.com/matlabcentral/answers/1567188-simulink-crash-in-ubuntu-20-04
I successfully followed ...

0
votes

0
answers

20
views

### Matlab file & folder names in hashcode in ubuntu 18.04

I Install ubuntu 18.04 and setup matlab R2018a
I installed Google back up and sync on ubuntu 18.04, but when I open matlab and goto backup files on the folder.The name of the files and folders are ...

0
votes

1
answer

476
views

### MATLAB 2021b Installation error

The
sudo ./install
command does not open up the installer. The install file shows as an executable file. It asks for password and after that nothing, it keeps processing, but does not show any result....

0
votes

1
answer

59
views

### Can I revert back matlab-support installation?

After installing MATLAB on Budgie I didn't get any launch icon so I opted for the terminal, after a while I decided to do something about it and went for the shortest path possible: I installed matlab-...

0
votes

1
answer

32
views

### Installing matlab, input boxes greyed out

I am trying to install matlab R2021A on 21.04 but the typing input behaves weirdly.
I run sudo ./install and the install client pops up.
Here I have the problem that I can type straight away but if I ...

0
votes

0
answers

167
views

### Nvidia GPU not found (driver problem)

I was trying to use gpucomputing (through cuda) in matlab, but it couldn't find my nvidia GPU
I tried the steps outlined here, and found that the output of
lspci | grep -i nvidia
includes
01:00.0 ...

0
votes

1
answer

32
views

### Upgrading from ubuntu 16 to ubuntu 18

I have matlab installed on ubuntu 16 LTS and I want to upgrade my ubuntu to 18 LTS. My question is whether the process will uninstall my matlab or not?

1
vote

0
answers

157
views

### Trying to install Cadence JACK audio toolbox and I keep getting sent to MATLAB inferface configuration

Okay I've been trying to install Cadence Jack audio toolbox for a couple days now and I've finally had enough every time I try to run the repository seen on KXStudio's website:
sudo apt-get install ...

1
vote

1
answer

309
views

### Simulink on MATLAB R2021a says "Resource temporarily unavailable"

These are the error messages when I open simulink on Matlab R2021a on my Ubuntu 20.04. I recently installed both the OS and MATLAB.
SlProxy service unavailable.
and
Error loading /usr/local/MATLAB/...

1
vote

1
answer

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

2
votes

1
answer

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

1
vote

1
answer

350
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:
...

2
votes

1
answer

99
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

1
vote

1
answer

701
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

125
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

67
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

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

1
vote

1
answer

661
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

955
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

1
answer

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

1
vote

1
answer

53
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/...

10
votes

4
answers

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

309
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

104
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

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

7
votes

0
answers

469
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

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

61
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

41
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

47
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

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

95
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

194
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

168
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

105
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

173
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

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

6k
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 ...

1
vote

1
answer

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

155
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

223
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

183
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

1k
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 ...