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

9
votes
1answer
1k views

Simulink is to Matlab as _______ is to Mathematica?

What is the Mathematica equivalent of Matlab's Simulink? I want something that lets me build a discrete event simulation.
5
votes
2answers
539 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?
5
votes
1answer
255 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' ) ...
4
votes
4answers
2k 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 ...
4
votes
6answers
11k views

Where is my software installed in Linux?

I use whereis matlab and find: /usr/local/bin/matlab , which is a very long bash file. How can I find where matlab is installed, I mean, its installed folder. EDIT: I used the following method: ...
4
votes
2answers
2k views

Vim-like input for Matlab

With a .inputrc file, I can do vim-like editing in maple. Is there a way to get vim-like line input in Matlab, either for the command-line or the GUI?
3
votes
2answers
5k 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 ...
3
votes
2answers
320 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 ...
3
votes
3answers
1k 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
1answer
150 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 ...
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
678 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. ...
3
votes
1answer
2k 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 ...
3
votes
0answers
1k 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 ...
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 ...
2
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
2answers
2k 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 ...
2
votes
2answers
2k views

which matlab version should i use with windows7?

which matlab version should i use with windows7?
2
votes
1answer
757 views

How can I use matlab's command window from inside emacs?

I am trying to use matlab's command window from inside Emacs. I typed M-! to get the prompt for the shell command, then I typed matlab, and as expected Matlab's command window opened inside emacs, ...
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: ...
2
votes
1answer
113 views

Is there a natural math translator for matlab?

I was wondering if someone has used a tool that can write math in a natural way, like in math type or LyX and then translate it to Matlab syntax for easy function entering PS I know it can be done in ...
2
votes
1answer
1k views

MATLAB on OSX, unbearably slow

My MATLAB running on snow leopard is unbearably slow. I have tried the UseQuartz tweak. That is: $ cat /Applications/MATLAB_R2008a/java.opts -Dapple.awt.graphics.UseQuartz=true My start MATLAB ...
2
votes
2answers
765 views

Converting accelerometer reading from Hex to Decimal

I have a accelerometer generated hex file with a time stamp, it has acceleration data from three axes. The data looks like this: C1 EB C1 F9 C1 C6 12:57:39.046: 41 F0 81 FA 41 C6 12:57:39.062: 01 ...
2
votes
1answer
13k views

Distinction between a/b versions of Matlab?

So I am relatively new to Matlab and was wondering what the distinction is between the a and b versions of Matlab in the past few years? Are the "b" versions incremental updates? Or the same software ...
2
votes
1answer
9k views

Change the file from .mat to .txt

How can I convert a .mat file into a .txt file with all the headers? I do not know how many fields are present. How do I export this data? I have MATLAB. I tried in MATLAB: load('test_data.mat'); ...
2
votes
2answers
79 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 ...
2
votes
1answer
473 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 ...
2
votes
1answer
397 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 ...
2
votes
1answer
211 views

Simulink - running parallel simulations

Is it possible to run Simulink calculations in parallel mode on cluster? And if its possible then what actually Simulink do when number of processes that i need is more than cluster has nodes? Thank ...
2
votes
1answer
430 views

MATLAB column wrap off

I'd like to be able to turn OFF column wrapping in matlab. So when you see a large matrix in the workspace, it usually goes: Columns 1 through 12 -0.3304 -0.1194 ... (( more values! )) ...
2
votes
1answer
813 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 ...
2
votes
2answers
5k views

How to set remote computer to allow running Matlab through ssh and x11 forwarding

I am trying to connect to a remote computer, and run matlab with x11 forwarding (to get the display). However, it seems the remote computer is not configured to run matlab like this and forward x11, ...
1
vote
4answers
9k views

how to make the execution of a Matlab program faster?

Are there any techniques to make MATLAB code execute faster? I am talking about things that can make my PC faster (like stop some .exe or software to improve PC performance). I noticed that ...
1
vote
2answers
414 views

How much space will Mathematica, Maple, and Matlab take up?

I as wondering how much space Mathematica, Maple, and Matlab will take up, under Windows and under Ubuntu? I am planning to reserve some space in partitions.
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 ...
1
vote
4answers
9k views

How can I insert my foto in the MATLAB GUI?

How can I insert my foto in the MATLAB GUI?
1
vote
1answer
147 views

webMathematica is to Mathematica as _________ is to Matlab [closed]

webMathematica lets you put Mathematica tools on the web easily. What is the Matlab equivalent?
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
2answers
5k 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 ...
1
vote
1answer
141 views

Matlab user guides in Kindle format

I want to read the Matlab user guides and getting started guides in Kindle format, but I can not find them in Amazon. Someone could show me how to convert a special section in the Help file into the ...
1
vote
1answer
573 views

'ttest' function not working in Matlab

When I am using this statement in Matlab in my computer then its giving error as follow: [h,p,ci]=ttest(randn(100,1),0.1) Error: ??? Error using ==> nanmean Too many input arguments. Error ...
1
vote
3answers
73 views

Open current file in external editor

For all it's shortcomings, I usually prefer to work inside the Matlab IDE, rather than in an external editor (due to ease of debugging, running and so on). However sometimes I want to open the ...
1
vote
2answers
953 views

MATLAB is not working because of Java

I use Windows 7 x64. I have installed MATLAB 2010a to my computer. After running only the splash screen shows up for a while then program quits. I have found an error log and the first lines of the ...
1
vote
1answer
223 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 ...
1
vote
2answers
386 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 ...
1
vote
1answer
244 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 ...
1
vote
1answer
195 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. ...
1
vote
1answer
338 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 ...
1
vote
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 ...
1
vote
1answer
752 views

MATLAB colorbar labels cut off in printing with large images

I'm using false-color visualizations for some HDR images in MATLAB, but with large images I find that the colorbar labels get cut off. In the MWE below, colorbar labels (and I think some of the ...