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

1
vote
1answer
24 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
49 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
534 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
498 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?
1
vote
1answer
561 views

Keyboard shortcut to exit matlab command prompt?

I've been using the command-line matlab interface (matlab --nodesktop) a lot lately. When I want to jump out of matlab and back to my bash shell, my instinct is to do Ctrl+D. I guess the bash and ...
0
votes
1answer
47 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 ...
0
votes
1answer
17 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
1answer
17 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, ...
0
votes
1answer
31 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
1answer
202 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. ...
0
votes
1answer
28 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 ...
0
votes
1answer
59 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
1answer
171 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
1answer
345 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
1answer
124 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. ...
0
votes
1answer
635 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 ...
0
votes
1answer
35 views

Solution for HPC with Matlab and Linux

I have the following problem. I want to install Matlab as root on a remote computer with graphical user interface installed. I've a campus license that can be installed on 4 different computers (or ...
0
votes
1answer
195 views

How can I use an SVM in Matlab without an external library?

I am a teaching assistant for a machine learning class and we are in the process of making an assignment to study SVMs. The problem is that our lab installations of Matlab do not have the statistics ...
0
votes
1answer
1k views

Allocating more CPU usage to MATLAB

I was wondering if there was a way to allocate more CPU usage to MATLAB. Currently, it says that 85% of my CPU is is idle. Is there some way to increase the threads MATLAB uses, or something along ...
0
votes
1answer
849 views

installing toolbox in matlab from one computer to another

I'm on a computer with multiple versions of matlab installed, not all versions share the same toolboxes. For some reason, I was able to "install" a new toolbox to one matlab version by copying the ...
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 ...
2
votes
0answers
84 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
0answers
77 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
176 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
12 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
689 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
518 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
18 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
17 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 ...
0
votes
0answers
10 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
14 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 ...
0
votes
0answers
75 views

Installing Matlab 2007 on Windows 10

I have installed MATLAB 2007 on Win7 but I needed to use it in Classic Theme. The installation on Win10 does not work in the same way, as there appears to be no classic theme. After installation and ...
0
votes
0answers
36 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
16 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
64 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
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
0answers
66 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
0answers
125 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
33 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
67 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
119 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
45 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
159 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
30 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
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
0answers
237 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
82 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
108 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
944 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
14 views

HP ENVY 15 Notebook PC, Matlab 2015a

Matlab has been close while running. While my matlab script was running (even if i close the cover side, but i set up in order that it can works) suddenly my pc has shut down. My matlab code should ...