MATLAB is a high-level language and interactive programming environment developed by MathWorks. It is the foundation for a number of other tools, including Simulink and various toolboxes that extend the core capabilities.

learn more… | top users | synonyms

0
votes
2answers
1k views

How to deal with scientific numbers in excel or matlab?

I have imported a text file to excel. The file has numeric and text columns. In the numeric column there are some scientific numbers which are only in text format. When I import the excel file to ...
1
vote
1answer
515 views

Matlab 2013a cannot find library powerlib

I have installed matlab 2013a in my computer. Everything works fine. But when I typed in powerlib in prompt it says cannot find library. Can anyone say how to install this library manually?
0
votes
1answer
1k views

Allocating more CPU usage to MATLAB

I was wondering if there was a way to allocate more CPU usage to MATLAB. Currently, it says that 85% of my CPU is is idle. Is there some way to increase the threads MATLAB uses, or something along ...
0
votes
2answers
2k views

Does Matlab use the GPU for plotting?

I have a new laptop with a high end (GeForce GTX 770M) discrete GPU, but when I plot large amounts of data (50k+ points), it still seems quite slow and sluggish. Is Matlab using the GPU to render the ...
0
votes
1answer
258 views

Recursively add folders to export command on bashrc

I want to add recursively add folders to an exported variable. Suppose I have the MATLABPATH variable declared below: export MATLABPATH=PATH1:PATH2:…PATHN:$MATLABPATH And I want to add all folders ...
0
votes
1answer
1k views

X11 application (Matlab) won't respond to any keys/mouse, grey window on minimize (Snow Leopard)

Suddenly my Matlab (2012b) won't run. It starts fine but does not respond to any keys if I minimize it it comes back as just a grey window. I tried reinstalling Matlab, then xQuartz (I actually ...
2
votes
1answer
611 views

Tab key working strangely in Matlab editor?

My Tab key has suddenly started acting strange in Matlab (R2011b) editor. It's working backwards! Pressing it doesn't add tab spaces and whenever I press it after a couple of spaces, the cursor ...
0
votes
2answers
929 views

How to locate Matlab installation?

I need to locate my MATLAB installation. I find out that I need to type matlabroot at the MATLAB command prompt. As I understand MATLAB command prompt means open cmd at the root where matlab is ...
0
votes
1answer
137 views

last object returned in chrome dev tools / python / irb /

In matlab one could type in the following and get the following reply: matlab> 1+1 ans = 2 One could then all the last returned object by simply typing: matlab> ans ans = 2 That is, ...
0
votes
2answers
647 views

How to access MATLAB license server vis ssh?

I have MATLAB installed on my laptop which should connect to a certain host that stores license information. I used to be able to use MATLAB anywhere that I had an internet connection. Recently, I ...
1
vote
0answers
740 views

MATLAB not loading- java NoClassDefFoundError

The installation itself was giving an error: java.util.concurrent.ExecutionException: java.lang.RuntimeException: data starting at 0 is in unknown format but when I deselected Aeromodeling toolbox ...
0
votes
2answers
389 views

Don't sync files during Matlab execution in Dropbox (Linux)

I'm a strong Dropbox user. I usually log in (via SSH) to my Linux machine and use Matlab on a Dropbox folder which automatically syncs everything. However, at this moment, my code generates a lot of ...
0
votes
0answers
116 views

UAC issue with matlab on win 7

I have the following problem using matlab on Windows 7. When I double-click a .mat file matlab starts and loads the double-clicked file. Double-Clicking further .mat files opens them also in matlab. ...
0
votes
1answer
559 views

Exporting plot as vector graphics in Octave or matlab

I know I can export a plot in octave as a PNG but is it possible to export a plot as a vector graphic image? The reason I ask is that some of the points on my plot are very close together and I would ...
1
vote
2answers
712 views

Play a sound or chime through ssh

I've a nice question for you all. I'm performing some numerical analysis though SSH connection with my Linux machine. Since each numerical analysis lasts for 3-4 minutes during them I'm doing some ...
6
votes
1answer
451 views

cat-ing a file to a unix pipe causes Matlab to freeze

I've created a named pipe on Debian using mkfifo pipe.in. I want to write to this pipe from Matlab. To do this, I use the following matlab command: unix( 'cat <myfile> > pipe.in' ) ...
1
vote
1answer
859 views

cell array of strings to matlab structure

I need to create a matlab structure as such ds=struct('name',{{'my_name_is'},{'matlab_thining_hair'}}) which stores as a 1x2 structure array with a field name. A call to ds.name generates the output: ...
4
votes
0answers
3k views

How can I find out why MATLAB crashes?

I'm using MATLAB GUI code that handles ten files, uses the image acquisition tool extensively, and also the data acquisition tool, and GPU programming. It usually works well, but from time to time (...
4
votes
1answer
5k views

how to install a old version of gcc compiler from software manger and use it with plain “gcc” command?

I am struggling with the problem of Matlab mex compile. It needs specific old version of gcc compiler 4.4.6 . But in manager there is only 4.4 version. How could I specify it as 4.4.6? Or is it ...
2
votes
1answer
2k views

return borrowed MATLAB license to Flex LM server

I am using MATLAB on a Windows 7 x64 machine, and I have successfully borrowed a license from the Flex LM server using the lmutil.exe lmborrow command line utility, but I am unable to return the ...
0
votes
2answers
1k views

Why Matlab in screen in Linux on PuTTY terminates itself after closing PuTTY session?

I connected to a linux server with PuTTY and start a screen session, and start matlab with: matlab -nodesktop Then, I run my matlab code as usual. The code will run for hours. So to test whether ...
1
vote
1answer
593 views

Keyboard shortcut to exit matlab command prompt?

I've been using the command-line matlab interface (matlab --nodesktop) a lot lately. When I want to jump out of matlab and back to my bash shell, my instinct is to do Ctrl+D. I guess the bash and ...
4
votes
3answers
4k views

Matlab libraries in Ubuntu

I just installed matlab on my computer, seemingly successfully, but I've been trying to run a program, and I'm getting the following error: >> reproduceResults Warning: Directory already exists....
5
votes
2answers
467 views

Getting the matlab r2009b multiline comment syntax highlighting in Notepad++

I have Notepad++ version 6.1.8 How can I configure it to highlight the matlab multiline comment %{ ... %} as a comment block? ---EDIT--- I read here that this feature was added to Notepad++ in ...
13
votes
4answers
29k views

Why is Adobe Flash Player downloaded as a “.dmg.mdlp” file?

When I download the current Adobe flash player installer from the Adobe website using Safari 6.0.1 under OSX 10.8.2, I end up with a file named 'install_flash_player_osx.dmg.mdlp' in my downloads ...
1
vote
2answers
4k views

How to set up LIBSVM Matlab interface?

I have my Matlab folder at a path, C:\Users\Cassie\Documents\matlab2010\bin. Whenever I need to run matlab, I double click the matlab application under bin folder at C:\Users\Cassie\Documents\...
1
vote
1answer
581 views

Tricky Matlab remote installation on Linux server from Windows

I need to install Matlab on Linux server. Here are the constrains: I have only remote access to that server via SSH from machine running Windows (using putty). There is no X server installed on ...
0
votes
2answers
3k views

Change User locale but keep all settings for English (U.S.) in Windows7

I'd like to be able to display Russian characters in MATLAB. As described here I have to change both User and System Locales to Russian. And yes, it works! The problem is since I'm in US I don't want ...
0
votes
1answer
422 views

Where is C code of Simulink stateflow model?

I designed a state-machine with evens and transitions in Simulink (Matlab). All i did was gave some timer events and made it jump from one state to other. It works perfectly fine. Now the question is ...
1
vote
1answer
281 views

cannot launch matlab remotely on mac from linux in the terminal

After I ssh to the mac desktop from linux Suse, I could not open matlab even without GUI. The mac desktop has mac OS 10.6. At the beginning, I thought the reason is that I did not use -X flag. However,...
5
votes
2answers
911 views

Lightweight alternatives to Matlab in linux [closed]

I want to learn some basic things using Matlab. I'd prefer a lightweight one in Linux. Is there any alternative?
0
votes
2answers
3k views

how to force matlab to display enough numbers on the plot X and Y?

The problem is that matlab "cuts" some numbers and I do not recognize actual value. Look at the screenshot, on Y there are a lot of "0.0156" while I expect "0.01562" "0.01564" "0.01566" etc. How to ...
0
votes
1answer
764 views

Is it possible using Matlab to draw a trading graph with deals?

In my trading software I write myself logs like this: 634782126998342815 q 0.0156327559515302 634782126998966816 q 0.0156323845819952 634782126999122816 q 0.0156323423136646 634782126999278816 q 0....
0
votes
1answer
929 views

installing toolbox in matlab from one computer to another

I'm on a computer with multiple versions of matlab installed, not all versions share the same toolboxes. For some reason, I was able to "install" a new toolbox to one matlab version by copying the ...
3
votes
1answer
5k views

is it possible to install matlab on an external hdd and use it with any computer?

I'm looking for a portable solution to using matlab on any computer.I tried to install matlab on the hdd and found that it wouldn't work on other computers. What can I do to make it work? Is it even ...
1
vote
2answers
117 views

textmate matlab.tmbundle transpose operator

The matlab.tmbundle for textmate seems to consider a single quote ' as the beginning of a quote instead of the transpose operator. I couldn't really find a solution online and I am dubious that the ...
1
vote
1answer
615 views

Calling matlab from Unix command line

I have a Matlab script named "main_wrapper.m" in my /home/user/MATLAB directory. I want to call this script from the Unix command line. This script ends with a quit, so it's expected to quit by itself....
2
votes
2answers
135 views

How ease annoyances of a busy but unresponisive window?

I'm doing a lot of simulations in Matlab in Windows XP. Typically I always have one Matlab open that runs a lenghty simulation while I do my work in another instance. There are some annoyances. If I ...
0
votes
0answers
980 views

How to build mym (matlab to mysql) on 64-bit Windows 7

Has anyone been able to get mym (http://sourceforge.net/projects/mym/) to build on a 64-bit Win7 machine? And if so would you mind posting or linking your steps to do so? My particulars: Windows 7 ...
-1
votes
1answer
385 views

Matlab 3D Vector

I have two 3D vectors in 3D line plot in Matlab. How I can specify an angle name between them? And also an angle between any two crossing lines?
1
vote
0answers
542 views

Trying to run MATLAB through an ssh connection, MATLAB process hangs

I have two computers and I am attempting to ssh from one to the other and then running an automated MATLAB script. My sshd and ssh client are both from OpenSSH via Cygwin on both machines, which are ...
0
votes
1answer
71 views

Upgrading Matlab and ensuring that the “Documents” folder's contents remain intact?

I have a Matlab installation on Windows Vista given to me by the University I am in. The problem is that it does not contain many toolboxes that I need. I plan to purchase it myself with all the tool ...
2
votes
2answers
9k views

Running MATLAB from Mac OSX terminal

I'd love to run matlab from the terminal on my Macbook (running Lion), forgoing the standalone matlab interface. All the information I've found online suggests that the command is simply something ...
0
votes
1answer
6k views

Matlab can't run on windows 7

I have installed Matlab a long time ago and now when I am trying to run couldn't do it. More deeply, I am trying Matlab as double clicking mouse on it's icon as well right click and run as ...
4
votes
1answer
751 views

Use matlab in makefiles etc. How to speed things up?

I use a lot of matlab to process data etc. Yet I find my workflow a bit of sluggish, so I was wondering if I could speed things up a little using makefiles. What I would like to do is write an .m ...
3
votes
1answer
192 views

Conditional variables depending on whether Matlab or Octave is running the code

I have written some code for Matlab/Octave. Basically, they have the same syntax and everything, but, for example, they have different functions for optimization (linprog/glpk,quadprog/qp). I want ...
0
votes
1answer
794 views

Installing Matlab 2009a in Ubuntu 11.04

I have a Matlab 2009a folder(with setup.exe) on Unbuntu 11.04. How can I install matlab on Ubuntu?
2
votes
1answer
513 views

What is required to run executable files built from MATLAB?

When I deploy my project to an exe file and bring it into another, which computer hasn't installed MATLAB yet, does it work fine or do I need to install something? For example, Java apps need the ...
3
votes
1answer
1k views

Is there a way to hide the backup files in the “Current Folder” pane in MATLAB?

MATLAB automatically generates backup files. For example, if I have a file called "simulation.m", after some editing MATLAB automatically generates a file called "simulation.m~" in the same folder. ...
2
votes
1answer
4k views

How to fix '605: /lib/libc.so.6' error for Matlab in Linux?

How to fix '605: /lib/libc.so.6' error for Matlab in Linux? When I start Matlab in Linux I get a "605 error" like the following $ matlab /usr/local/matlabR2010a/bin/util/oscheck.sh: 605: /lib/libc....