# Questions tagged [matlab]

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

449
questions

0
votes

0
answers

31
views

### Open Matlab .m Files

I am running Matlab 2021b with Ubuntu 20.04.3. I would like to be able to doubleclick .m files so that they automatically open in Matlab. The main problem is that right clicking the file -> ...

0
votes

1
answer

190
views

### Trouble with Vitis Model Composer 2023.2! MATLAB R2021b crashes when I want to open the Model Composer Hub component

I'm a fresh Ubuntu and AMD Vitis user! My OS is Ubuntu 22.04.3 LTS, and my system graphic card is Mesa Intel® UHD Graphics 630 (CFL GT2). Recently I installed AMD Vitis 2023.2 and Matlab R2021b, and I'...

0
votes

1
answer

181
views

### Parallel Port Access in Matlab

I'm having difficulties accessing a parallel port on Ubuntu 22.04. It is a SUNIX Co. Multiport MIO6469A that was installed in a PCI slot. It has both DB-9 (serial) and DB-25 (parallel) connectors. We'...

1
vote

0
answers

60
views

### How to add matlab to favorites bar?

I recently switched from Windows to Ubuntu. I installed matlab and I am able to open it from the terminal by doing:
cd ~/Matlab_R2023b/bin
./matlab
Is there a way to add a matlab shortcut to the ...

0
votes

0
answers

46
views

### MATLAB installed but not in activities

I am very new to Ubuntu.
I installed MATLAB 2022a Ubuntu 22.04.3 LTS, and I can start it from terminal window by typing matlab
The matlab binary can be found both in /usr/local/bin, and /usr/local/...

0
votes

0
answers

60
views

### Optimize system for rapidly loading large volumes of data

I'm running a complex Matlab program on my Ubuntu computer. It needs to load several .MAT files, each of which is several GB on disk and larger in RAM. I know it is possible to run this program - a ...

1
vote

1
answer

353
views

### Matlab: incomplete scaling / ignoring system scaling

Personal context: I am relatively new to Linux and not aware of some things that may appear basic to more experienced users.
I have a 3840 x 2400 (16:10) display that is scaled to 200% in settings and ...

0
votes

0
answers

221
views

### Installing matlab 2020a on ubuntu 22.04 lts

I was wondering if i can install matlab 2020a on machine with ubuntu 22.04 lts.
Any one know if that will work or not ?

0
votes

0
answers

59
views

### Avi video will not display properly with either the Videos program or with matlab's VideoReader, but it displays perfectly fine in vlc

I am trying to load up some videos (avi files) into matlab to analyze them a bit; I recorded them using myCam 1.1 on Windows 7. I would like to analyze them on my linux computer; however, when I use ...

0
votes

0
answers

220
views

### Matlab R2022b installer not working in Ubuntu 22.04

I am trying to install Matlab R2022b along with Simulink (issue is happening with every version so it's probably something with my computer) on my Ubuntu 22.04. When I first tried installing it ...

1
vote

1
answer

846
views

### Installation of MATLAB on 22.04 finished but cannot start it

I am on a Lenovo Legion 5 Pro with dual boot, Windows 11 and Ubuntu 22.04 LTS. I am trying to install MATLAB R2022b on the Ubuntu.
I downloaded the current zip file from Mathworks and pretty much ...

0
votes

0
answers

247
views

### Changing LD_LIBRARY_PATH broke my system

I'm writing this from my phone because I can't get my laptop to boot, so I'll do my best, sorry for the poor formatting. I use Lubuntu 22.04.1 LTS.
I did something I shouldn't have apparently. I was ...

2
votes

1
answer

4k
views

### Ultra low-latency in ubuntu 22.04

I should run a visual experiment project with Matlab or Python in which the time resolution is dramatically important! that's why I shift to Linux and use the low-latency kernel in ubuntu. but I ...

0
votes

0
answers

555
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

61
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

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

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

1
answer

431
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

95
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

598
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

194
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

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

1
vote

0
answers

830
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

48
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

457
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

933
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

758
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

2
answers

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

2
votes

2
answers

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

408
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

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

454
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

106
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

218
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

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

1
answer

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

79
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

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

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

9
votes

2
answers

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

127
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

221
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

626
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

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

78
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

42
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

54
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

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

107
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

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