**0**

votes

**0**answers

11 views

### Prevent Matlab from creating java.log.* files in the home directory?

I've recently started using matlab. If started with the jvm, log files will be created in the home directory (a different one every time it starts up).
Opening log file: /home/max/java.log.4363
...

**0**

votes

**0**answers

18 views

### how to multiply a matrix by its transposed?

I want to multiply a matrix by its transposed in order to knwo if it verify QtQ=I.
Yet when I compute it on matlab I get something strange using a concept I'm not aware of: conj(x).
Therefore, how ...

**0**

votes

**0**answers

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

**0**

votes

**2**answers

42 views

### How to add .bash_profile in Windows to run Matlab-based IPython notebooks

I'm looking at this tutorial to run matlab code in IPython notebook:
http://anneurai.net/2015/11/12/matlab-based-ipython-notebooks/.
but I am stuck at step3:
I edited the .bash_profile file located ...

**-1**

votes

**0**answers

15 views

### What does @ do in matlab?

What does @ do in Mat lab? I see @(x) in some code without @ defined so I'm wondering if @ serves some function in Mat lab.
Also, why does the editor no like the word Matlab?

**-4**

votes

**0**answers

32 views

### Please suggest some ways to test my RNN

I have developed an RNN in matlab and now its time to test it. You can set your desired number of layers and nodes and it trains data in random chunks. I also included an annealing function for ...

**0**

votes

**0**answers

13 views

### adding cumulative sum to a vector

I'm trying to write a function that calculates sum of ((-1)^k *sin((2k+1)t))/((2k+1)^2 ( for k=0 to n)
t varies from 0 to 4*pi with 1001 values
It's supposed to return a vector with size n. This is ...

**0**

votes

**0**answers

14 views

### Select rows starting with specific values

I'm trying to do something very similar to this post here. In that post, the OP wanted all the rows where the first column took value n:
A = B(B(:,1) == n,:);
I'm looking for all the rows where ...

**0**

votes

**2**answers

71 views

### Cannot install anything on Windows 10: “Error 997.Overlapped I/O operation is in progress”

I'm trying to install Matlab, but the culprit is probably Visual C++ Redistributable (which Matlab is installing along the way).
When I run the setup, every time it fails with:
Error 997....

**0**

votes

**0**answers

36 views

### Matlab 2015b laggy with windows 10 update process running (GWX.exe)

For a couple of days Matlab2015b has been much slower than before. I tested 2013b and 2016a and both were significantly faster (my S-Function runs ~10 times faster). Since it was not like this before ...

**0**

votes

**0**answers

10 views

### About Simulink, how can I perform Real Time operations in Matlab Function Block

If I try to perform a real time operation (the if statement) as shown below, the Simulink starts to give me many errors.
I tried to use the data store bock, or store them to the workplace but that ...

**0**

votes

**1**answer

53 views

### Is MATLAB performance increased if it is on SSD

I have a 256gb SSD which has my OS (windows 8) and Office on it. I also have a 4TB USB3.0 external hard drive. I do a fair bit of image and signal analysis using MATLAB. Will there be performance ...

**3**

votes

**1**answer

45 views

### Editing a “Fixed Width” Text File

I had originally drafted this question in Engineering SE, but on second thought it makes a lot more sense here. I don't know if SuperUser SE just doesn't have MathJax formatting or if I don't know how ...

**10**

votes

**6**answers

44k 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?

**0**

votes

**0**answers

9 views

### Multiple string replacements at once in MATLAB

I would have expected that the following command
strrep('abc', {'a', 'b', 'c'}, {'1', '2', '3'})
returns '123' in MATLAB. It does not; instead, it returns a cell array:
ans =
'1bc' 'a2c' ...

**1**

vote

**0**answers

13 views

### Plot abscissa points

I have been instructed to plot abscissa points. This is new to me, even the concept is alien to me. I have a set of data, where S is the x-axis and res the y-axis. The goal is to plot a figure where ...

**0**

votes

**1**answer

67 views

### Serial Port not found by MATLAB to communicate with Arduino

I'm just trying to know how to established serial communication between Arduino and MATLAB. From this tutorial I copied the code, but as for my PC use "Windows" I had to change my serial port name. ...

**0**

votes

**0**answers

66 views

### Simulink: xmakefilesetup error message interpretation

Simulink 2016a on Win10: raspberry pi make-file configuration. MATLAB Command:
xmakefilesetup
Note the directory that had to be manually configured as shown: http://s6.postimg.org/...

**0**

votes

**0**answers

23 views

### How to constuct Taylor expansion of arbitrary function in Matlab?

I am reading a book titled "Homotopy Analysis Method in Nonlinear Differential Equation" by Shijun Liao. In chapter 13 Application in Finance: American Put Option, there is appendix about mathematica ...

**0**

votes

**1**answer

57 views

### How to set MATLAB R2015a as the default program for opening mfiles?

I have Mathematica 10.2 and MATLAB R2015a installed on my computer and unfortunately MATLAB m-files are recognized as Mathematica notebooks by the window.
When I right-click on an m-file and choose ...

**0**

votes

**1**answer

37 views

### PSAT install on Matlab for MAC

Hi anyone knows how to install PSAT on Matlab on Mac computers?
I have installed and running already Matlab 2015b.
A guide would be great.
Thanks in advance
My steps was:
to put the entire psat ...

**3**

votes

**2**answers

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

**1**

vote

**0**answers

6 views

### How can I create an alias for `dbstep` inside the matlab debugger?

I'm using the terminal debugger of MATLAB.
Among the various commands, one frequently has to type dbstep or dbstep in to advance line per line.
Using the GUI debugger is not an option for me.
I'm ...

**0**

votes

**0**answers

14 views

### Importing Spears SDIF Files Into Matlab

I have the mex files and some matlab code to import SPEARS SDIF file into matlab, but I am having a difficulty importing my sdif files into matlab...I don't really know how to use these mex extension ...

**0**

votes

**2**answers

25 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

35 views

### Pymatbridge win32 error (trying to install matlab_kernel in Python)

My goal is to install matlab_kernel on my anaconda so that I can run Jupyter with matlab kernel on my smaller laptop. However, there is a problem, when I run pip install matlab_kernel I get an error ...

**2**

votes

**1**answer

106 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

**1**answer

354 views

### Restore MATLAB preferences on a computer that doesn't store them, e.g. work computers with limited permissions

I have two questions (and answers to them). I could make two separate questions and answers of them, but I won't, because the second question is the same as the first, but with a twist. The two parts ...

**3**

votes

**1**answer

76 views

### How do I force Excel to open documents with add-ins when another application has opened Excel process?

When MATLAB R2015b interacts with Excel, it opens one Excel process and then keeps the process open until MATLAB is closed. When this happens, if I try to open a spreadsheet through File Explorer, it ...

**0**

votes

**0**answers

115 views

### padding matrix in Matlab / Encrypt with AES

I wanna encrypt/decrypt all kind of images that matlab could read with AES, but the input require a fix length of 128bit. So as a solution I have to pad the reading matrix to make the length multiple ...

**0**

votes

**0**answers

29 views

### How to increase number of available SMB requests in Windows 7?

I use an program (Matlab) which is giving errors about exhausting the number of change notification handles (CNH), known in Windows as server message blocks (SMB). Matlab's tech support said that ...

**0**

votes

**0**answers

12 views

### Is running 2 instances of MATLAB safe?

Can I run another MATLAB while waiting for a long loop to finish?
I tried that before and it worked, but recently I tried again and found my PC (64-bit Windows 8.1 and MATLAB R2015b) frozen, with a ...

**0**

votes

**0**answers

10 views

### How to manage (admin) MATLAB sessions (saving workspace, closing sessions)

We are running MATLAB using a site wide license. Users connect to high ram machines via a remote desktop platform (linux), and their sessions are persistent so that they can carry simulations over ...

**0**

votes

**0**answers

165 views

### Further actions message after installing Matlab R2015a, Are they all needed?

At the final step of installing Matlab R2015a on my Win7x64 machine, I've come up with the following message.
What is this?
Should all of these steps be done?
Your installation may ...

**0**

votes

**0**answers

20 views

### Adding some lines in 2D plot

I want to make a straight line at 4 as the paper and i want to find the values of a and b for which the max value is greater than 4.
My code
objfun file
function f = threestate2(x,a,b)
c1 =cos(x(1))*...

**1**

vote

**1**answer

145 views

### Matlab Graphical Display Issues

I'm working on Ubuntu 15.04 and I'm accessing Matlab throught ssh (-X) on distant machine which run on fedora 20.
Few days ago I had to change my computer for a new one with a CPU/iGPU i5-6200U(...

**0**

votes

**0**answers

45 views

### Matlab problems with i3 window manager, but not problems with xfce4?

I'm having trouble with matlab in i3. The window manager doesn't automatically switch to figure windows, there is heavy font corruption in matlab.
If I logout, and log back into xfce4, matlab runs ...

**1**

vote

**1**answer

24 views

### Read UDP packages created by another computer

Laptop 1 Laptop2
192.168.1.103 192.168.1.120
Ubuntu Windows 8
? <-- Matlab: UDP
I use MATLAB software on my windows and I ask it to generate real ...

**0**

votes

**1**answer

53 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

**2**answers

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

**1**answer

44 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

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

**1**

vote

**1**answer

83 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

59 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

69 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

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

23 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

133 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

14 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

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