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

3
votes
1answer
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 ...
2
votes
1answer
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 ...
1
vote
1answer
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 ...
1
vote
1answer
77 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 ...
1
vote
1answer
584 views

Matlab launcher not found windows 8

I recently installed matlab in windows 8, in a different drive, other than the program files. After installation, its strange but am not able to find any launcher icon. Be it for uninstallation, or ...
1
vote
1answer
515 views

Matlab 2013a cannot find library powerlib

I have installed matlab 2013a in my computer. Everything works fine. But when I typed in powerlib in prompt it says cannot find library. Can anyone say how to install this library manually?
4
votes
0answers
3k 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 (...
1
vote
0answers
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 ...
1
vote
0answers
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 ...
1
vote
0answers
104 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
0answers
216 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 ...
1
vote
0answers
14 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 ...
1
vote
0answers
739 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 ...
1
vote
0answers
542 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
0answers
8 views

Creating an specific type of meta-algorithm

I need to create a program able to create an algorithm to Matlab. For instance, in this program, I want to give it an integer n>0 and make it create a Matlab algorithm with the following code: u1 = ...
0
votes
0answers
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
0answers
21 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
0answers
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
0answers
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
0answers
37 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
0answers
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
0answers
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' ...
0
votes
0answers
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
0answers
67 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
0answers
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
0answers
118 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
0answers
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
0answers
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
0answers
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
0answers
170 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
0answers
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))*...
0
votes
0answers
46 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 ...
0
votes
0answers
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
0answers
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
0answers
134 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
0answers
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
0answers
140 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. I'...
0
votes
0answers
214 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
0answers
37 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
0answers
111 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
0answers
152 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
0answers
75 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
0answers
239 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
0answers
40 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 ...
0
votes
0answers
310 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 ...
0
votes
0answers
84 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 ...
0
votes
0answers
116 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
0answers
980 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
0answers
16 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
0answers
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 ...