**0**

votes

**0**answers

12 views

### how to output matrix in one column in matlab

i write this code in matlab to output any matrix to txt file
dlmwrite('output.txt',matrix,' ')
but its print to file like this:
0 1 0 1
i need this way
0
1
0
1
how its possible
ive ...

**3**

votes

**1**answer

44 views

### How to increase the font size in the Matlab help browser permanently?

Maybe I'm getting old, but the text in Matlab's built-in help browser is too small for me to read comfortably. It is possible to increase the font size using Ctrl-+, but every time a new help page is ...

**0**

votes

**1**answer

18 views

### reading from file in matlab and store its content in 2 variables

i have input file like image below and it contains adjacency matrix+ one number in first line. so here is the problem that i cant read file in order to set this information in 2 variable
one of them ...

**1**

vote

**1**answer

27 views

### Can I install Matlab on my external HDD drive?

I am running Win 7 on my laptop. My hard drive is very small 128 G, and I haven't storage enough to install Matlab on local partition. Can I install Matlab on my external hard and use it without any ...

**1**

vote

**2**answers

32 views

### Summing a row excluding its minimum value

I need some help please.
Let's say I have a matrix:
4 5 6 6
a= 2 7 9 1
9 0 4 5
I want to find the sum of row 2, without including the minimum value of row 2 (that's 1),
I have tried this:
...

**0**

votes

**2**answers

345 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 ...

**2**

votes

**2**answers

3k 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 ...

**0**

votes

**0**answers

160 views

### Forwarding high quality graphics from matlab via ssh

I am connecting to a local server that runs MATLAB (version 2015a) via ssh with the X forwarding option (ssh -X).
However when I start MATLAB I get this warning:
libGL error: failed to open drm ...

**0**

votes

**1**answer

34 views

### How to show Matlab local documentation in system browser when pressing F1?

I'm using Windows7 and Matlab R2013a on my PC.
I find it impossible to copy/paste in Matlab's window help or help browser:
so I click Get Page Address and copy the command:
web([docroot ...

**0**

votes

**1**answer

85 views

### Unable to run Matlab on Ubuntu after fresh installation

specs:
OS - Ubuntu 15.04 (64-bit) and Matlab - ver. R2013a (64-bit)
I have successfully installed and activated Matlab. After trying to run it via terminal, it is showing error on the terminal.
...

**1**

vote

**1**answer

56 views

### MAC equivalent - user name & appdata

I have a couple of questions:
On PC I can get the username from the environment variable USERNAME and on LINUX it is USER - what the MAC equivalent?
The users local area on windows can be found via ...

**1**

vote

**1**answer

22 views

### renaming all files with similar structure to same name

I have a lot of files in subsubfolders. They all look like in.*.radiate, where * is just a number.
Is there a way to rename all of them with a single command to just in.radiate?
Either in linux or ...

**0**

votes

**1**answer

23 views

### Matlab test existence of file(fail)

I try to execute this 2 commands but the result is very weird
K>> delete lista_arqs.txt
Warning: File 'lista_arqs.txt' not found.
K>> exist('lista_arqs.txt','file')
ans =
2
I mean..... I ...

**1**

vote

**2**answers

44 views

### Spreadsheets for Matlab

I was wondering if there was a way to directly write a spreadsheets in Matlab, or if someone had published a Matlab add-on that specifically introduced spreadsheets?

**9**

votes

**6**answers

37k views

### MATLab crashes on launch OS X Yosemite

I've just installed the OS X Yosemite beta and can't open MATLab 2014a.
It displays this error dialog:
Does anyone have any ideas as to how this could be resolved?

**2**

votes

**2**answers

7k 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 ...

**2**

votes

**1**answer

153 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 ...

**0**

votes

**0**answers

99 views

### How to make regular backups with TeamViewer?

I have to use a remote computer for a computational project in MATLAB. Therefore I connect to it via TeamViewer, and run my codes in that machine. But I also want to write the code on my computer, and ...

**12**

votes

**4**answers

25k 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 ...

**0**

votes

**1**answer

42 views

### Running MATLAB installed on a cluster from mac

I recently switched to mac from ubuntu, and I was wondering if there is any way in which I can use the MATLAB installed in a Linux cluster in my mac.
I can run it without user interface, by using ssh ...

**0**

votes

**1**answer

35 views

### record audio with builtin and external mic simultaneously

I want to record two channels of audio into Matlab on OSX, using the internal microphone and an external usb microphone at the same time.
Is this possible without any additional hardware?

**0**

votes

**0**answers

70 views

### Matlab extract numbers from cell with mixed contents

I have a cell array with different datatypes, from an excel sheet that I need to read in, but which is beyond my control.
[~, ~, raw] = xlsread(xlsFile)
raw is now a r-by-c cell vector, for ...

**0**

votes

**1**answer

708 views

### Unknown Java error: Warning: Unable to load Java Runtime Environment

I am getting the following error dialogue when I want to run a program. The program has previously worked and it is giving this error all of a sudden:
Warning: Unable to load Java Runtime ...

**0**

votes

**0**answers

420 views

### License Manager for Matlab is unable to connect to the license server. License Manager Error 96

I am using Matlab R2014a. The license has been provided by the college.
As soon as I launch the software, I get a following error message.
I tried to ping the server addresses, and the were ...

**2**

votes

**1**answer

12k 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');
...

**3**

votes

**2**answers

4k 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 ...

**0**

votes

**0**answers

19 views

### How to search matlab command history in command window

I know to search in the command window is Ctrl+Shift+S in windows. If the command window is clear with clc, how do I search the command history like Ctrl+R in bash?
Thank you!

**0**

votes

**1**answer

155 views

### Matlab figure graph color

I have installed Matlab 2013a in my system. When plotting a graph by "ezplot" command, the color of the graphs in the figure is by default set as green. I want to change the color in Deep blue. How is ...

**0**

votes

**1**answer

75 views

### Remote access to matlab from windows computer to mac

first of all I must say: please be patient with me(!)
I work with matlab in my university. Lately I have being working with very heavy codes and my computer is not powerful enough. A professor, and ...

**0**

votes

**0**answers

30 views

### Matlab editor doesn't save

As simple as that. I'm opening a new script file, click the "save", and it stays "untitled x*", with the * sign to show it's still not saved. I have no idea how to fix it, and it drives me crazy!
...

**0**

votes

**1**answer

198 views

### MATLAB crashes unexpectedly on Windows 7

I'm having difficulties in running a set of experiments due to frequent and unpredictable crashes of MATLAB. I am working on Windows & and I suspected that it was related to plotting graphs. Now, ...

**0**

votes

**1**answer

505 views

### How to change font of matlab console in windows

I like to run matlab in console mode without JVM. So basically I run this command:
matlab /nojvm
It looks like this:
What I want to do is change this font. And maybe the colors. What would be ...

**1**

vote

**4**answers

207 views

### How can I close a program with dos when the computation is finished?

I have a a problem with running a program in matlab by either the use of a batch file or just the dos() function. I can now open a program en run it with the input by using:
start program.exe ...

**0**

votes

**0**answers

18 views

### How to implement conditional sum in a smart way?

I want to implement a sum over three variable l,m,n such that l,m,n are integers that are greater or equal zero and l+m+n is equal to some integer v.
As I have quite a few of these sums in my ...

**0**

votes

**0**answers

68 views

### How can I install Matlab to Ubuntu for all user accounts?

I try to install matlab to ubuntu server for the use of all possible user accounts. How should I install Matlab for that or where should I locate its installation ?

**1**

vote

**0**answers

113 views

### Matlab is continuously asking me to activate when I am trying to launch

Matlab is continuously asking me to activate when I am trying to launch
cd /usr/local/MATLAB/R2014a/bin
User@User-Inspiron-N5010:/usr/local/MATLAB/R2014a/bin$ sudo ./matlab
What is the solution ...

**0**

votes

**0**answers

25 views

### Know which is the biggest matrix that can be computed in MATLAB

I mainly use MATLAB for solving linear problems such as Ax = b and the eigenvalue eig/eigs one.
I noticed in my current configuration (OS X, i7 2,3GHz, 16GB RAM) that I can compute without using swap ...

**0**

votes

**0**answers

70 views

### ode45 solver MATLAB improve time

I am numerically simulating the Mathieu equation using ODE45 and I have to keep changing the parameters delta and epsilon for each simulation to get the required peiodic solution.
Following is the ...

**2**

votes

**1**answer

464 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

**2**answers

179 views

### xterm: Running a long simulation in MATLAB on a remote machine

I would like to run a long simulation (24 hours) in MATLAB installed on a remote linux machine, using xterm.
I have no problems connecting to the remote machine from my Macbook, and launching MATLAB ...

**3**

votes

**3**answers

3k 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 ...

**0**

votes

**1**answer

913 views

### How to run .bat file on both windows and mac

I am using a .bat file in a Matlab program and was wondering if there was anyway to make this work on both Windows and Mac computers (right now it only works on Windows), so that I can run my Matlab ...

**1**

vote

**0**answers

11 views

### How can I search in the Matlab command window for things named with an underscore?

Matlab 2013a can't seem to search in the command window. Example:
I called two functions NLSCN and NLSCN_FAST. But when searching inside the command window, I was able to find the first, and not the ...

**0**

votes

**0**answers

70 views

### Having problems with installation of microsoft sdk on win 7 home premium

I wanted to install libsvm in MATLAB r2012 on my laptop ( win 7 home premium system ) . Now on the site , libsvm asks to run mex -setup , when I run this command in matlab , it fails and asks to ...

**1**

vote

**2**answers

580 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

**3**answers

141 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 ...

**0**

votes

**1**answer

104 views

### Is my FPS limited by CPU or graphics card? Rotating 3D surfaces in Matlab

I have a modern laptop. When I use Matlab to visualize a 3D surface with a large number of vertices, I can only get a frame rate around 5 FPS when rotating it. With transparent surfaces, only 1 FPS.
...

**1**

vote

**2**answers

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
...

**5**

votes

**6**answers

17k 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:
...

**0**

votes

**1**answer

565 views

### Why doesn't 7-zip appear in the contextual menu in Windows Explorer for MATLAB's .mat files after installing MS Office?

I use MATLAB and after installing MS Office 7-zip doesn't appear any more in the contextual menu when trying to zip some .mat files: http://youtu.be/uJvSC4oCes8. How can I solve it?