Questions tagged [matlab]

MATLAB is a high-level language and interactive programming environment for numerical computation and visualization developed by MathWorks. MATLAB can be used when performing tasks such as signal processing and communications, image and video processing, computational finance, and computational biology. It is the foundation for a number of other tools, including Simulink and various toolboxes that extend the core capabilities.

Filter by
Sorted by
Tagged with
1 vote
0 answers
40 views

How to properly kill a service upon shutdown?

I am having some issues with a component that I have installed recently, that is Matlab Drive Connector for Linux Fedora 37. The app itself works fine, interacts well with main Matlab program, but it ...
Luca Domeneghetti's user avatar
1 vote
1 answer
134 views

Arch Linux Matlab Command Window creation failed

I just changed a font in my matlab and when I reopened it, it crashes. I ran Matlab on steam deck, an arch linux based system. The following is the log. MATLAB is selecting SOFTWARE OPENGL rendering. ...
Jack LI's user avatar
  • 11
0 votes
0 answers
203 views

How can I open MATLAB R2022a hosted on macOS over X11?

Question: How can I open MATLAB R2022a hosted on macOS over X11? I recently installed MATLAB R2022A on macOS, replacing an older Mac with an old 2017 installation. The license is a Network Named User ...
MasterOfNone's user avatar
0 votes
2 answers
265 views

Cannot link to matlab libmat.so and libmx.so under Eclipse IDE

I am trying to compile matcreat.cpp under Eclipse C++ IDE. It allows to exchange matlab data with c++ programs. At some point I compile the program : /* * matcreat.cpp - MAT-file creation program * ...
Bap23's user avatar
  • 1
2 votes
1 answer
4k views

Updating to GLIBC 2.34 for use with Matlab

I am running Matlab B2021b on a Linux mint machine. uname -r output: 5.14.0-1024-oem I checked my GLIBC version and got this ldd (Ubuntu GLIBC 2.31-0ubuntu9.7) 2.31 Copyright (C) 2020 Free Software ...
n3tw0rkrunner's user avatar
0 votes
1 answer
41 views

how to translate this bashrc code to suse 11 commands

I am trying to link MATLAB with Cadence Virtuoso (an electrical engineering software) in SUSE Linux 11, and I have manual PDF that is the guide to do so. My problem is that the commands that are given ...
TheDeparted's user avatar
0 votes
1 answer
244 views

Unvisible application content within VNC / XFCE

I do have a weird render issue of some applications that I'm running within a tigervnc session on a remote host where XFCE is started. As you can see from the screenshot, while applications display ...
Jeremy's user avatar
  • 3
0 votes
1 answer
273 views

Matlab QT libraries prevent programs from running

I have matlab on my machine with Compiler toolbox. In order for compiler code to work, it needs access to libraries. They are supposed to be saved in LD_LIBRARY_PATH So I adjusted my .bashrc to ...
atapaka's user avatar
  • 521
2 votes
1 answer
923 views

Matlab showing blank screen when I connect remotely with xrdp in CentOS 7

If I use my CentOS 7 computer everything works fine but when I connect remotely (I have tried connecting from Ubuntu and Windows xrdp clients) everything works fine too except Matlab which shows a ...
David1212k's user avatar
0 votes
2 answers
225 views

Can not set PATH permanently in order to launch MATLAB system wide

I have the following issue: I recently installed MATLAB R2018a in my artix linux (runit). I can launch matlab from the location where the launcher is, i.e., /usr/local/MATLAB/R2018a/bin, but if I try ...
Arturo's user avatar
  • 3
2 votes
1 answer
3k views

libcairo undefined symbol: FT_Get_Var_Design_Coordinates error when calling R from compiled MATLAB application on Centos7

I'm posting this question to document the solution to a problem which had me stuck for several weeks for which no answer was found on StackExchange or discussion boards. (Answer forthcoming) I'm ...
Zachary Klamer's user avatar
1 vote
0 answers
205 views

MariaDB connector (remote)

I'm new to databases and have some very basic how-to/where-to questions: I have successfully setup a MariaDB + phpmyadmin on my raspberrypi zero (running the latest diet-pi), including a database ...
user2305193's user avatar
3 votes
0 answers
1k views

in KDE, can I create a rule that makes a new window appear in the desktop of the app that created it?

This has been asked before: How I can make new pop up windows to appear in the same desktop of their app?, but it was for a different WM, and there are no answers. Maybe there is an answer for KDE? I ...
laugh salutes Monica C's user avatar
0 votes
1 answer
329 views

memory increase after completion of scripts

(I am new user of linux). I am running several matlab scripts in parallel using nohup in this form: (cd Documents/dir_001; nohup matlab -nodisplay -nosplash -nodesktop -r "run('/home/user/...
Bur Nor's user avatar
0 votes
1 answer
1k views

Matlab License: License checkout failed. License Manager Error -9 [closed]

Im on Linux Manjaro. I tried everything that came to my mind but I'm still getting this error: [john@john-pc bin]$ sudo ./matlab License checkout failed. License Manager Error -9 Your username does ...
John's user avatar
  • 187
0 votes
1 answer
5k views

How to install Matlab R2020a on Arch based distros

I had a problem installing Matlab R2020a on my Manjaro so I decided to share my solution from A to B.
John's user avatar
  • 187
0 votes
1 answer
320 views

Name is nonexistent or not a directory

I'm running an array job (400 Matlab R2018b tasks) in the HPC of my university. After having qsub the .sh file in the terminal, the 400 tasks start by they are immediately killed. In the .o file of ...
user3285148's user avatar
0 votes
1 answer
495 views

Pass Array Variable to MATLAB Function in Bash

Aim I am using multiple text files to set variables and array variables. These are the input arguments to a MATLAB function, that iteratively creates url download strings based on these variables, ...
liaml's user avatar
  • 3
0 votes
0 answers
1k views

Use Matlab with GUI on remote server via VNC

I might have a too basic question. I'm trying to use Matlab on a remote server with the standard Matlab GUI. (The GUI is quite essential for development, e.g. for debugging; and I really need to do ...
Bodai's user avatar
  • 1
0 votes
1 answer
2k views

bin/glnxa64/MATLABWindow: symbol lookup error: /lib64/libpango-1.0.so.0: undefined symbol: g_log_structured_standard

I am not sure how to solve this problem in CentOS7: >> cluster_sample MathWorks::System::IUserException [Error using matlab.internal.webwindow (line 310) MATLABWindow application failed to ...
Mona Jalal's user avatar
0 votes
0 answers
48 views

How to correctly use Linux "at" command to execute a shell script that runs a matlab script?

I have the following shell script: #!/bin/bash matlab -nodisplay -nosplash -nodesktop -r "run('/home/username/test.m');exit;" The test.m script is a matlab script that plots a graph and saves the ...
dareToDiffer07's user avatar
1 vote
0 answers
159 views

Warning Message on batch submission of matlab script on Linux-based cluster

I recently began using a super-cluster at my university and have succeeded with serial matlab scripts. Now I am running code using parfor loops, and have been getting this warning in the .out file. I ...
purplehatdaisy's user avatar
0 votes
1 answer
106 views

Way to pass a command to Matlab from tcsh?

I'm looking to call a Matlab script in my tcsh script and pass it a programmatically-generated function call (like functionName(varName)). Is there a way to call Matlab (or any other scripting ...
user avatar
5 votes
7 answers
3k views

Alternative to wait -n (because server has old version of bash)

I would like to solve the following issue about submitting a job that has been parallelised to a specific node. Let me start with explaining the structure of my problem I have two very simple Matlab ...
user3285148's user avatar
1 vote
2 answers
6k views

Parallelise a for loop in a bash file

I would like to parallelise the for loop in the bash script below. I have two Matlab scripts 1) main.m clear rng default P=2; grid=randn(2,3); jobs=1; 2) f.m sgetasknum_grid=grid(jobs*(...
user3285148's user avatar
1 vote
1 answer
372 views

Can't start Matlab on Ubuntu 16.04

I've downloaded and installed Matlab 2018b in a folder named Matlab in /home/user/Matlab the file I want to run is /home/user/Matlab/bin/matlab where matlab is a shell script application. First I ...
Parseval's user avatar
  • 121
9 votes
3 answers
41k views

Set LD_LIBRARY_PATH correctly

I am using Docker with image of Ubuntu 16.04. I am using this docker to run: Import C++ classes in python with the help of boost.python Import matlab's python package in python with the help Matlab ...
Coderji's user avatar
  • 117
-1 votes
1 answer
2k views

Undefined symbol in libharfbuzz

I am using MATLAB on Arch Linux and I am running into problems. When I try and open the help (doc) I get the following error /opt/tmw/matlab/sys/jxbrowser/glnxa64/xulrunner/xulrunner-linux-64/...
StrongBad's user avatar
  • 5,201
0 votes
1 answer
666 views

UNIX Epoch Time verification in MATLAB

I am testing MATLAB to ensure that I am correctly applying its functionality. An example from the a data source includes: The current time in UNIX epoch seconds is: 1160967053 The current time in ...
gatorback's user avatar
  • 1,254
0 votes
1 answer
1k views

running matlab script inside bash

I have a matlab script xxx.m that runs fine within matlab's GUI command window, creating a couple of subdirectories and outputting some data into those subdirectories. When i load Matlab at the bash ...
jfhartzell's user avatar
0 votes
0 answers
56 views

Starting another program that shares output terminal with current program?

I have a matlab script that I run from the terminal, that script creates an instance of another program using: system('cd <path> && mpiexec -n 1 ./<program2> &') Problem is I ...
Moody's user avatar
  • 101
1 vote
1 answer
289 views

How to view MATLAB livescripts?

When I try to open a matlab livescript inside the default DE, I get an error that says: Viewing MATLAB Live Script files is not currently supported by this operating system configuration. For more ...
Jonas Schwarz's user avatar
3 votes
1 answer
166 views

Writing a bash function to autoload matlab scripts

I want to write a convenience function which loads all the matlab scripts it's passed on the command line. The syntax would look like fmatlab myscript1.m myscript2.m ... mystriptN.m I can easily do ...
JMJ's user avatar
  • 223
2 votes
0 answers
43 views

License manager problem after changing rc.local?

I am very new to Linux - so please don't be irritated by the potential weirdness of that question. I am running GNOME 3 on a USB Stick where the host computer is running on Windows. Since I did ...
Laurie's user avatar
  • 21
1 vote
2 answers
1k views

opening matlab on ubuntu

I have successfully installed Matlab 2011 on my Ubuntu Mate 17.04 machine. The installation directory is /home/matlab For instance, my installation directory looks like (see image below) Now I read ...
Upendra01's user avatar
  • 547
1 vote
1 answer
1k views

How to get return value from MATLAB function

I am calling a MATLAB function with a bash script matlab -nodesktop -nosplash -nodisplay -r "matlabfunction input1 input2; quit" I am trying to get a one digit return value from the matlab function, ...
ctbird's user avatar
  • 11
2 votes
0 answers
231 views

Access a running MATLAB instance from command line

I am running a few instances of MATLAB on a server via an SSH tunnel and a VNC server. I started the instances using the desktop (via VNC) but something went wrong and now the desktop is completely ...
Erik M's user avatar
  • 121
1 vote
1 answer
203 views

How to get a animated pop-up window in MATLAB to display my functions

I apologize if this is the wrong place to ask this type of question. I normally use OpenSUSE x64 systems, but because of issues getting any MATLAB pop-up to work, I switched to Fedora to match ...
user415366's user avatar
3 votes
2 answers
520 views

How to create keyboard shortcut for matlab with xfce

I've tried by using the keyboard applications and shortcuts submenu by adding a command "matlab" and associating my desired key combination. This is based on the fact that if I run $ matlab from ...
Aaron A.'s user avatar
0 votes
1 answer
329 views

How to get gcc-4.7 to /usr/bin/gcc-4.7 as second gcc in Debian Jessie?

I would like to keep my gcc 4.9 but let Matlab use gcc 4.7 because Stable Debian does not support 4.7, as observed in the thread Debian Jessie: Why gcc-4.7 conflicts with gcc-4.8? I do the following ...
Léo Léopold Hertz 준영's user avatar
2 votes
2 answers
55 views

How to prevent Matlab filebrowser to do any changes in filesystem?

I get significant amount of artifacts in Matlab 2016a and 2016b, which are damaging my filesystem, etc random cursor movements moving my Documents folder to Pictures. I do not want that such actions ...
Léo Léopold Hertz 준영's user avatar
0 votes
2 answers
363 views

How to strip reliably most comments in Matlab code?

I want to remove comments reliably without removing newlines (\n) and any piece of essential Matlab code by Unix commands, not by extensions/gadgets/... existing for the target etc here. Test cases ...
Léo Léopold Hertz 준영's user avatar
-1 votes
3 answers
1k views

Why Matlab 2016a cannot be killed by Terminal's CTRL-C in Debian 8.5?

Fig. 1 Pressing two times CTRL+C in Terminal does not act but puts two line breaks in Matlab's command line I think there is something wrong with the keybindings. I have tried both Windows and Emacs ...
Léo Léopold Hertz 준영's user avatar
1 vote
1 answer
613 views

How to Do This LookBehind in Regex?

Data: 1.000000000000002, 0.999999999999999 Expected output: 1.0..02, 0.9..9 where you can replace .. with any other shorthand for cut Pseudocode in Matlab float_thing=1.0000000000000002; % 0....
Léo Léopold Hertz 준영's user avatar
1 vote
2 answers
227 views

Is this "Hardware Error" when using Matlab in Fedora really a hardware problem or could it be software?

I often found the following problem when I using Matlab 2012 in Fedora 20, during or after fft calculation or plot figures. The following is the error massage: [ 635.157606] mce: [Hardware Error]: ...
harfan's user avatar
  • 11
0 votes
1 answer
693 views

Why Unable to Install WFDB?

I am installing WFDB Toolbox for Matlab 2016a in Ubuntu Linux 14.04 64bit, which instructions are here. I do [old_path]=which('rdsamp');if(~isempty(old_path)) rmpath(old_path(1:end-8)); end ...
Léo Léopold Hertz 준영's user avatar
0 votes
1 answer
759 views

Why can't my Unix terminal not find my matlab binaries and making Unix find them again?

This happens to be a new problem because I was able to run MATLAB on the shell until today. I didn't install or update it or anything of that sort, but now I am unable run matlab in the sell. It tells ...
Charlie Parker's user avatar
0 votes
1 answer
853 views

How to run a 2 script with one in background followed by other

I have a script which links to a process in background. Now i want to run the 2nd script followed by 1st one ( which starts the background process) together. Also is it possible to add an exit ...
vivekkr0611's user avatar
1 vote
0 answers
73 views

How to see the variables current value of a running matlab process on tmux?

I have a matlab process in tmux which is running for days. Actually I need to see the values of calculated variables till now. I thought that, it is good(if possible) to duplicate the process and then ...
CoderInNetwork's user avatar
1 vote
1 answer
447 views

Is AMD GPU FirePro support enough for Linux's Matlab and CUDA?

I need GPU with CUDA support and open-source community support for FFT computation with Matlab R2015b. I think I need to reject nVidia GPUs because of bad open-source support, here Torvalds about ...
Léo Léopold Hertz 준영's user avatar