**1**

vote

**0**answers

6 views

### Is it possible to save a dynamic path to Matlab search path or pathdef.m?

I want to add a path like
getenv('userprofile'),'\Dropbox\Matlab\example1'
to the Matlab pathdef.m file. The system variable %userprofile% will change from computer to computer.
Adding the phrase ...

**0**

votes

**1**answer

35 views

### Is there a GUI way to copy a folder's path in MATLAB?

Is there a way to easily copy the name of a folder's full path within MATLAB, from the MATLAB folder window, into a MATLAB script or command window?
Dragging with mouse would be very nice, but I ...

**0**

votes

**1**answer

15 views

### matlab-emacs doesn't open a file for edit (2014b)

I downloaded and installed the matlab-emacs project from http://matlab-emacs.sourceforge.net/ using the dl_emacs_support.m script and edited my .emacs file according to the instructions.
When I run
...

**0**

votes

**0**answers

33 views

### Matlab regarding Structure Arrays

Inputs:
1. (struct) An MxN structure array
Outputs:
1. (char) A PxQ character array where P = (number of fields + 1) * R and Q = 50 * C
Function Description:
MATLAB does fine when displaying a ...

**0**

votes

**1**answer

16 views

### Function argument in dir function inMATLAB

Is there a way to use dir command in a function in MATLAB. I want to take argument in fiction and that argument to be part of dir command for e.g
function a = abc(num)
aaa=dir('abc_num_*.csv);
...

**0**

votes

**1**answer

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

**0**

votes

**0**answers

10 views

### simulation gets disconnected from adhoc network when working with UPD blocks

I'm working with MATLAB simulink and trying to send data using UDP block from a model running on external mode (on a quad-copter which runs on linux ) to a model running in normal mode on my computer ...

**0**

votes

**0**answers

28 views

### how to install google earth toolbox in matlab and plot .asc file

I wanted to know how can I plot ".asc" file in matlab and How can I install google earth toolbox for matlab ?
I need to plot the same .asc file data on google-earth also.

**0**

votes

**0**answers

10 views

### How to type MATLAB commands in Makefile

I want to use MATLAB commands in Makefile. Actually I want to generate plots so I want to write MATLAB commands under a target. How to do this ?
I want to write the command under the target directly ...

**0**

votes

**1**answer

137 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

**0**answers

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

**0**

votes

**1**answer

13 views

### Viewing exacution of a single file in GNU Octave (echo fcnname on)

Question is simply: in MATLAB, you could simply use echo myFun on to set the echo status of a single function m-file to on, which then shows you each of the lines executed.
In GNU Octave, however, ...

**3**

votes

**2**answers

71 views

### Starting Matlab in Command Line Cygwin

I would like to start Matlab in its 'shell mode' from the Cygwin terminal. However if I enter
matlab
the GUI appears. If instead I try
matlab -nodesktop
Then a new command line opens in another ...

**0**

votes

**0**answers

36 views

### Cannot run program due to “device is not ready” error

I have a 32bit Matlab mex function that was linked against OpenDDS libraries as well as my own custom ones. I made a Visual Studio 2010 setup project to deploy the necessary dlls to other machines. ...

**0**

votes

**1**answer

166 views

### “Installation Failed” when installing Microsoft Windows SDK 7.1

The operating system of my laptop is Windows7x64. Whenever I install MatlabR2013b on it, this message is shown at the end of installation process:
Your installation may require additional ...

**0**

votes

**0**answers

71 views

### Is every thing OK in my matlab installation or not?

The operating system of my laptop is Windows7x64. Whenever I install MatlabR2013b on it, this message is shown at the end of installation process:
Your installation may require additional ...

**0**

votes

**0**answers

31 views

### Why does pressing Shift+F5 insert @ character in some text editors?

While debugging in matlab (and sometimes in the code editors of other IDE's, such as Visual Studio 10) I noticed that sometimes pressing shift+F5 (keyboard shortcut for stop debugging) inserts the @ ...

**0**

votes

**1**answer

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

**2**

votes

**0**answers

56 views

### MS Excel 2013 function TODAY() not updating unless source file is open

I use the TODAY() function in an excel worksheet which is accessed using MATLAB (i.e. I don't read the worksheet directly). Now I have to open the excel file just to update the TODAY() function, and ...

**0**

votes

**0**answers

47 views

### How to set up multiple matlab users on windows 2008 r2 server

We have a windows 2008 server at our lab that has a "designated computer" matlab licence. I want researchers to be able to concurrently remote desktop to this server so that they could each use matlab ...

**0**

votes

**2**answers

38 views

### Disable win7 harddisk ram for a specific software

Sometimes when you ask matlab to create a very large array, it exceed actual ram and tries to go into harddisk, which slows down the computer so much that it becomes impossible to close matlab, only ...

**1**

vote

**0**answers

48 views

### Unable to launch matlab after installation

I have recently installed a copy of Matlab on my Linux Mint distro to a secondary hard drive. I have tried running it in different ways and none of them seems to work.
I have tried using sudo, and ...

**1**

vote

**1**answer

37 views

### How to start matlab daemon

I have a plist calling a python script every day. The python script calls different matlab routines depending on their success. This works perfectly fine when I'm using the computer but when I'm not ...

**0**

votes

**0**answers

99 views

### Matlab 2015a on Windows 7x64 with flexlm network license is very slow browsing files

We have some Windows 7 x64 computers running Matlab 2015a using a flexlm network license. Using the Matlab file browser is very slow, especially to samba shared filesystems. These filesystems are ...

**0**

votes

**1**answer

27 views

### Call MATLAB installed on network drive from Cygwin shell script

MATLAB is installed on a network drive, and I want to call it from a shell script. The installed location is \\apps\matlab2014b$\bin\win64\MATLAB.exe in P:\. I am using Cygwin to run the shell ...

**0**

votes

**0**answers

34 views

### Java Home was not set properly?

I am trying to install MATLAB on my Fedora 22. At the end, I get an error
The application encountered an unexpected error and needs to close. You may want to try re-installing your product(s). ...

**0**

votes

**0**answers

130 views

### Windows7x64: Error Message while attempting to install Matlab R2015a

The attempt to install Matlab R2015a on a freshly installed Windows 7 Ultimate copy always yields the following error message at 0% installation progress (0% Complete):
Unknown Error
The application ...

**1**

vote

**3**answers

87 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?

**0**

votes

**0**answers

27 views

### Control number of matlab threads from Linux environment variables

I am configuring Matlab for a multi user cluster and want the users to request a specific number of cores when they are launching Matlab. For example, without controlling this, performing an inverse ...

**3**

votes

**1**answer

206 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

19 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

135 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

42 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

455 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

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

**1**answer

62 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

193 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

182 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

25 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

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

**10**

votes

**6**answers

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

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

154 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

190 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

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

65 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

54 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

**1**answer

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

**2**

votes

**1**answer

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

**1**answer

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