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
1answer
80 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
1answer
243 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
479 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
246 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
93 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
342 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
485 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 ...
5
votes
1answer
305 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' ) ...
0
votes
1answer
452 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
2k 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 ...
3
votes
1answer
2k 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
1k 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
724 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
382 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 ...
3
votes
3answers
2k 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 ...
3
votes
2answers
363 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 ...
9
votes
4answers
14k 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
3k 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 ...
1
vote
1answer
334 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
2k 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
271 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
211 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. ...
5
votes
2answers
609 views

Lightweight alternatives to Matlab in linux

I want to learn some basic things using Matlab. I'd prefer a lightweight one in Linux. Is there any alternative?
0
votes
2answers
2k 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
504 views

is it possible using matlab draw trading graph with deals?

In my trading software I write myself logs like that: 634782126998342815 q 0.0156327559515302 634782126998966816 q 0.0156323845819952 634782126999122816 q 0.0156323423136646 634782126999278816 q ...
0
votes
1answer
602 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
2answers
3k 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
103 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
387 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 ...
2
votes
2answers
89 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
784 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
339 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?
0
votes
0answers
428 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
69 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
6k 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
4answers
5k 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 ...
3
votes
1answer
536 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 ...
1
vote
1answer
3k views

Mount samba share without root access

I have access to a linux machine, but not root access. I can access a samba share through smbclient. I'd like to be able to mount this share so I can access it from within Matlab. Normally, if I ...
3
votes
1answer
159 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
649 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
432 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
817 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: ...
0
votes
1answer
162 views

preparing large data sets for analysis [closed]

I have a fortran program that simulates a lot of ascii text file output. These are quite large to load the entirety of any single file into common data analysis programs (Matlab, R, SciPy). I think ...
0
votes
1answer
49 views

Matlab: How do I put another function within a function?

I have a function in Matlab that produces three specific results. I want to use these results as input arguments to a following function to calculate the end result. How do I go about combining the ...
2
votes
2answers
2k views

Windows 7 Task Scheduler won't run Matlab script

I am trying to run a Matlab script every day using the Windows Task Scheduler. I am using Matlab R2011b 64-bit, and Windows 7. According to Matlab, a script myfile.m can be run from the command line ...
3
votes
2answers
4k views

Matlab Installation in Ubuntu

When I try to install Matlab 2011a, I get an error like this. /tmp/mathworks_3203/java/jre/glnxa64/jre/bin/java: Permission denied I searched internet, but what I found is to become root. I ...
3
votes
1answer
3k views

Can I make the Matlab text editor wrap text at a given column width without implementing wrap comments?

I have a text file with a long comment that would normally extend off-screen to the right. Is there a way to configure the Matlab Editor to wrap this text when it extends beyond the current window ...
5
votes
4answers
3k views

Matlab *.mat files associated with MS Office

When Matlab creates a binary file with extension .mat on my Windows 7 (64 bit) computer, Windows declares it in a directory as a „Microsoft Office Access Table Shortcut“. In spite of the fact that ...
2
votes
2answers
2k views

How to uninstall previous version of Matlab in Mac OS X?

I successfully installed MatLab 2011a on my MacBook Pro running Mac OS X 10.6.7. However, I also have an old installation of Matlab 2010b on the computer, how do I completely and cleanly remove it ...