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.

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.

Some informative links that show up quite often in answers:

User Amro has created a user-script for Matlab Syntax Highlighting for Stack Overflow. Use this link to install it.

76 questions
9
votes
3 answers

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 Runtime (MCR). Before I have installed MCR in the…
Coderji
  • 117
  • 1
  • 1
  • 10
5
votes
6 answers

shell script to control the number of processes of an user

I have to launch a total number, NUMTOT of a program (could be any, C, Mathematica, ns-2... mathematical environments). The problem is that the computer where these processes run only admits a maximum number of executions, e.g. MAX, (MAX < NUMTOT).…
Pablo
  • 83
  • 1
  • 6
5
votes
7 answers

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 scripts 1) main.m clear rng…
user3285148
  • 125
  • 2
  • 9
4
votes
2 answers

Hardware OpenGL rendering in MATLAB

I am unable to get hardware based OpenGL rendering to work in MATLAB R2015a or R2014b. Prior to R2014b, and the rewrite of the MATLAB graphics stack, everything worked fine. From MATLAB >> opengl info Version: '3.0 Mesa…
StrongBad
  • 5,151
  • 9
  • 47
  • 73
4
votes
2 answers

How to use Emacs to run Matlab programs?

I'm learning matlab and using emacs to edit .m files. Is there a method in Emacs to call matlab to run programs?
vim_z
  • 41
  • 2
4
votes
1 answer

Creating/Removing a symbolic link when a USB device connects/disconnects

I'm working with an Arduino board and Matlab under Linux. Matlab, unfortunately, doesn't recognize the Arduino board when is connected unless I create a symbolic link to the Arduino board in /dev by: sudo ln -s /dev/ttyACM0 /dev/ttyUSBx Where x is…
Charlie
  • 93
  • 1
  • 6
3
votes
1 answer

Connection error for linux webcam driver for matlab

This might seem like a duplicate post, well yes it is, but I have a different problem compared with the duplicate version of it. My value for imaqhwinfo gives me: InstalledAdaptors: {'dcam' 'linuxvideo'} MATLABVersion: '7.14 (R2012a)' …
motiur
  • 153
  • 7
3
votes
3 answers

Print process ID (PID) of a Matlab instance

To run my Matlab scripts, I've created a shell script to which I give two parameters - the path to the matlab file ($1) and to the log file ($2): nohup time matlab -some_parameters -r "run $1;exit" &>> "$2" & When I need to kill one of the Matlab…
John Manak
  • 141
  • 6
3
votes
0 answers

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 am using virtual desktops to organize things. I…
3
votes
1 answer

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 some preset number of scripts. For instance, if I…
JMJ
  • 223
  • 1
  • 2
  • 5
3
votes
2 answers

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 terminal it will open matlab as I have made the proper…
Aaron A.
  • 61
  • 5
3
votes
0 answers

Matlab's Image acquisition toolbox doesn't recognize my webcam

I have to work with the image acquisition toolbox in Matlab and I find it quite disturbing to always change to windows. So I installed Matlab 2010b on my Linux machine (Arch, Kernel 39). Skype & friends work perfectly with my camera (using…
janoliver
  • 1,776
  • 2
  • 19
  • 34
3
votes
3 answers

Repackaging proprietary software

I was thinking about trying to package Matlab (a proprietary piece of software) for Arch Linux by creating a PKGBUILD to handle installation, dependencies, and conflicts. With the standard Matlab Linux installer it places everything in a local…
StrongBad
  • 5,151
  • 9
  • 47
  • 73
2
votes
2 answers

slow Matlab on Ubuntu LTS and ZERO Swap

I was using Matlab2012 under Win7 and my algorithm was consuming a huge amount of memory though it was fast (80 seconds for one iteration). Now I am using Matlab2013 under Ubuntu 12.04 LTS and though the usage of the RAM is very small, but the time…
2
votes
1 answer

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 Foundation, Inc. This is free software; see the…
n3tw0rkrunner
  • 21
  • 1
  • 3
1
2 3 4 5 6