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

0
votes
0answers
9 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 ...
0
votes
0answers
3 views

Matlab - Function taking no arguments but not static [migrated]

I am trying to implement the following: classdef asset properties name values end methods function AS = asset(name, values) AS.name = name; ...
0
votes
0answers
5 views

Matlab: Getter runs before Constructor? [migrated]

Given an object with custom get-methods for some properties, does Matlab execute some of the code (the getter) before the class constructor is executed? Even if i set the default of a property to ...
1
vote
2answers
23 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 ...
0
votes
3answers
1k 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
1answer
79 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 ...
0
votes
0answers
26 views

svn checkout/export files selectively

i am trying to implement a matlab routine, that would checkout (or export, even better) a subset of files and folders from a repository at a specific revision. eg. i have a repo structure which ...
1
vote
0answers
8 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
0answers
14 views

Convert data acceleration from HEX to decimal [duplicate]

I have an accelerometer which generated hex file with a time stamp, it has acceleration data from three axes. The data looks like this: 14:50:20.046:01 F7 C1 14:50:20.062:FA 81 C6 I need to convert ...
0
votes
0answers
32 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
1answer
46 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
0answers
106 views

Unicode development in MATLAB GUI on WIndows and Linux

Can anyone please direct me in the Unicode development of MATLAB GUI over Windows and Linux platforms? My problem is the erroneous display of Unicode (French) characters in GUI and *.m files. Once I ...
0
votes
0answers
77 views

Any workaround for USB Camera driver issue with MATLAB Image Acquisition Toolbox

I have a USB microscope attachment camera (DCM510 by ScopeTek) which works fine in their own software and several others such as AMCap, but MATLAB is unable to read the device's supported formats when ...
1
vote
3answers
71 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
1answer
103 views

How to run program on Unix server and then close SSH? [duplicate]

I need to run a long operation in MATLAB on a remote Unix server. But I know I won't be able to stay logged in via SSH the whole time. I am root/admin if that helps. How can I do this without losing ...
0
votes
0answers
65 views

Read frames into Matlab with avconv

I have a very large video file (5.9 GB - 120fps at 1.3 megapixel for 2h) from which I want to extract a few hundred frames at known, sparse time points, and send via the shortest path to Matlab. ...
0
votes
1answer
90 views

Linux MATLAB not able to access Windows files through smb drive

I am running Linux kernel 2.6.18-371. I have read http://www.linuxdoc.org/HOWTO/SMB-HOWTO-8.html and am able to access my windows files from command line using /usr/bin/smbclient -L ...
0
votes
2answers
113 views

To plot Matlab data in SageMath?

I have matlab matrix 100x100, which I want to draw in Sage Notebook. I run plot(open(DATA+'matlab.mat')) I get verbose 0 (2387: plot.py, generate_plot_points) WARNING: When plotting, failed to ...
0
votes
0answers
57 views

How can i use the Structed Supporte Vector Machine (SSVM or Struct-SVM)

Does anyone can give a MATLAB example of SVM-Struct or SSVM for test step? I tried to use the MATLAB code of SVM-struct that written by Dr. Vedaldi. I cannot use the output of the ...
1
vote
2answers
950 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
0answers
335 views

Install a GUI for Ubuntu Server, then install Matlab and X11

I purchased a Matlab 2013a for students, however, it only have 32 bits for a windows, but 64 bits for Linux. I installed Matlab on a Amazon EC2 Windows Server 2012 Instance, with 32 cores. However, ...
0
votes
1answer
163 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
55 views

Does Matlab have Sigmaplot by default?

This manual suggests that it has. However, when I look it in Matlab R2013b, I see only functions sigma, sigmaoptions and sigmaub. Does Matlab have the function by default?
0
votes
1answer
23 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
156 views

How do I write a bash script that makes a phone call on my cell once a matlab process finishes?

If not a call, is sending a text message possible? I have tried setting up an email notification and that worked, but I would prefer if I got a call or a message.
0
votes
1answer
80 views

Matlab launching from terminal but not Openbox

I have installed Matlab and can run it fine by using the command matlab from the terminal but when I try to open it using the Openbox menu GUI the Matlab starting screen appears as normal but then the ...
0
votes
1answer
97 views

MATLAB cannot find its own libraries

I am having a problem with a new installation of MATLAB (2012b) that is cannot find the base enumberation type Simulink.IntEnumType. The specific error text is: specified superclass ...
0
votes
0answers
181 views

how to install matlab 2011b in windows8 enterprise?

i want to use matlab2011b for my project work.... But windows 7 ultimate driver issues came so, i installed windows 8 operating system , now when i tried to install matlab 2011b error screen came: ...
0
votes
1answer
108 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
501 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?
1
vote
1answer
295 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 ...
0
votes
2answers
386 views

How to deal with scientific numbers in excel or matlab?

I have imported a text file to excel. The file has numeric and text columns. In the numeric column there are some scientific numbers which are only in text format. When I import the excel file to ...
1
vote
1answer
205 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?
0
votes
1answer
425 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
2answers
483 views

Does Matlab use the GPU for plotting?

I have a new laptop with a high end (GeForce GTX 770M) discrete GPU, but when I plot large amounts of data (50k+ points), it still seems quite slow and sluggish. Is Matlab using the GPU to render the ...
0
votes
0answers
45 views

How can I install Gstreamer library to my home and include by the MATLAB to use vision toolbox?

I want to use matlab vision toolbox at remote machine but I do not have gstreamer. Also I am not the root so I cannot install to machine. Is ther any chance of installing to home and include by the ...
0
votes
1answer
93 views

Recursively add folders to export command on bashrc

I want to add recursively add folders to an exported variable. Suppose I have the MATLABPATH variable declared below: export MATLABPATH=PATH1:PATH2:…PATHN:$MATLABPATH And I want to add all folders ...
0
votes
1answer
1k views

X11 application (Matlab) won't respond to any keys/mouse, grey window on minimize (Snow Leopard)

Suddenly my Matlab (2012b) won't run. It starts fine but does not respond to any keys if I minimize it it comes back as just a grey window. I tried reinstalling Matlab, then xQuartz (I actually ...
1
vote
1answer
221 views

Tab key working strangely in Matlab editor?

My Tab key has suddenly started acting strange in Matlab (R2011b) editor. It's working backwards! Pressing it doesn't add tab spaces and whenever I press it after a couple of spaces, the cursor ...
0
votes
2answers
263 views

How to locate Matlab installation?

I need to locate my MATLAB installation. I find out that I need to type matlabroot at the MATLAB command prompt. As I understand MATLAB command prompt means open cmd at the root where matlab is ...
0
votes
1answer
66 views

last object returned in chrome dev tools / python / irb /

In matlab one could type in the following and get the following reply: matlab> 1+1 ans = 2 One could then all the last returned object by simply typing: matlab> ans ans = 2 That is, ...
0
votes
1answer
180 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 ...
1
vote
0answers
404 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 ...
0
votes
2answers
195 views

Don't sync files during Matlab execution in Dropbox (Linux)

I'm a strong Dropbox user. I usually log in (via SSH) to my Linux machine and use Matlab on a Dropbox folder which automatically syncs everything. However, at this moment, my code generates a lot of ...
0
votes
0answers
83 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
1answer
263 views

Exporting plot as vector graphics in Octave or matlab

I know I can export a plot in octave as a PNG but is it possible to export a plot as a vector graphic image? The reason I ask is that some of the points on my plot are very close together and I would ...
1
vote
2answers
386 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 ...
5
votes
1answer
255 views

cat-ing a file to a unix pipe causes Matlab to freeze

I've created a named pipe on Debian using mkfifo pipe.in. I want to write to this pipe from Matlab. To do this, I use the following matlab command: unix( 'cat <myfile> > pipe.in' ) ...
0
votes
1answer
309 views

cell array of strings to matlab structure

I need to create a matlab structure as such ds=struct('name',{{'my_name_is'},{'matlab_thining_hair'}}) which stores as a 1x2 structure array with a field name. A call to ds.name generates the output: ...
3
votes
0answers
1k 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 ...