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
0 votes
2 answers
54 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 * ...
user avatar
  • 1
0 votes
1 answer
27 views

Running closed source scientific software

Suppose you are required to install a heavy scientific software like Matlab or Intel Quartus on your Linux workstation. This can become a broader enquiry, for any kind of closed source software (...
user avatar
  • 11
0 votes
1 answer
236 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 ...
user avatar
0 votes
1 answer
34 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 ...
user avatar
0 votes
0 answers
36 views

exporting matlab to Word doc

whenever I export try matlab live script plot into Microsoft Word I get the linked image cannot be displayed error. Where it basically doesn't export the plot from matlab live script onto Microsoft ...
user avatar
  • 1
0 votes
1 answer
84 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 ...
user avatar
  • 3
0 votes
1 answer
115 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 ...
user avatar
  • 441
2 votes
1 answer
465 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 ...
user avatar
0 votes
2 answers
83 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 ...
user avatar
  • 3
2 votes
1 answer
2k 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 ...
user avatar
1 vote
0 answers
138 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 ...
user avatar
3 votes
0 answers
671 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 ...
user avatar
0 votes
1 answer
101 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/...
user avatar
0 votes
1 answer
485 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 ...
user avatar
  • 177
0 votes
1 answer
4k 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.
user avatar
  • 177
0 votes
1 answer
100 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 ...
user avatar
0 votes
1 answer
296 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, ...
user avatar
  • 3
0 votes
0 answers
683 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 ...
user avatar
  • 1
0 votes
1 answer
974 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 ...
user avatar
0 votes
0 answers
46 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 ...
user avatar
1 vote
0 answers
93 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 ...
user avatar
0 votes
1 answer
70 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
2k 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 ...
user avatar
1 vote
2 answers
4k 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*(...
user avatar
1 vote
1 answer
348 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 ...
user avatar
  • 121
8 votes
3 answers
34k 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 ...
user avatar
  • 97
-2 votes
1 answer
687 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/...
user avatar
  • 4,821
0 votes
1 answer
591 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 ...
user avatar
  • 1,114
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 ...
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 ...
user avatar
  • 101
1 vote
1 answer
266 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 ...
user avatar
3 votes
1 answer
145 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 ...
user avatar
  • 213
2 votes
0 answers
41 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 ...
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 ...
user avatar
  • 487
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, ...
user avatar
  • 11
2 votes
0 answers
211 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 ...
user avatar
  • 121
1 vote
1 answer
181 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 ...
user avatar
3 votes
2 answers
467 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 ...
user avatar
0 votes
1 answer
325 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 ...
user avatar
1 vote
1 answer
37 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 ...
user avatar
0 votes
2 answers
273 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 ...
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 ...
user avatar
1 vote
1 answer
550 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....
user avatar
1 vote
2 answers
187 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]: ...
user avatar
  • 11
0 votes
1 answer
667 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 ...
user avatar
0 votes
1 answer
705 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 ...
user avatar
0 votes
1 answer
644 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 ...
user avatar
1 vote
0 answers
59 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 ...
user avatar
1 vote
1 answer
423 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 ...
user avatar
1 vote
1 answer
2k views

Having a problem launching Matlab 2010 in Ubuntu related to libXp.so.6

I did not have any problem opening Matlab2010 in Ubuntu by typing matlab2010, but now if I type the same thing, I get: error while loading shared libraries: libXp.so.6: cannot open shared object ...
user avatar