Answered
How to initiate a linux (shell) command from matlab but not wait for the output?
If you end the command line with an ampersand, system should return immediately system('some-long-running-command &'); Of...

12 years ago | 3

| accepted

Answered
mexw64 function dynamically linked to .dll will not run w/out c compiler
It sounds like there is a dependency missing. Use <http://www.dependencywalker.com/ Dependency Walker> on the broken computer ...

12 years ago | 0

Answered
How can i read wave files to a column vector?
Rather than having sampleArray hold only the most recently read WAV file, make sampleArray a <http://www.mathworks.com/help/matl...

12 years ago | 0

| accepted

Answered
urlread - missing some href's
urlread and your browser are hitting the web site independently of each other, and there is no guarantee that the exactly same c...

12 years ago | 0

Answered
Mutliple Copies of MATLAB on the same machine -- how to set the default
See <http://www.mathworks.com/help/matlab/matlab_env/associate-files-with-matlab-on-windows-platforms.html> for information on h...

12 years ago | 0

Answered
Issue to compile MATLAB embedded code in R2013a
The support for Visual Studio 2012 was incomplete in R2013a -- see <http://www.mathworks.com/support/bugreports/931218 this supp...

12 years ago | 0

| accepted

Answered
Read out "Sudden Motion Sensor" in Macbook Pro
I'm not aware of anyone having done this. Apple apparently does not provide a Cocoa API to it, leaving you with informal, "tink...

12 years ago | 1

| accepted

Answered
Converting elements which repeat more than 10 times to 0
I would love to see a vectorized way to do this, but using a loop: x=[1 -1 1 1 -1 -1 1 1 1 1 1 1 1 1 1 1 1 1 -1 1 -1 1]; z...

12 years ago | 2

| accepted

Answered
which format is best to use in MATLAB to use .5 million data.. ?
Are you suggesting that you have control over the format of the file you will feed to MATLAB? The "easiest" may be a simple com...

12 years ago | 0

Answered
Errors using importing a matrix using textscan
The presence of multiple spaces between your numbers might be the culprit. Try c=textscan(fid, ['%d', '%f', '%f', '%f'], 'M...

12 years ago | 0

| accepted

Answered
Java 1.6.0_51 breaks MATLAB 2012b and below
As Art noticed first, a new update to Java was posted on Friday. Run Software Update, and if that does not correct the problem,...

12 years ago | 3

Answered
How to create and hdf file
Start with <http://www.mathworks.com/help/matlab/ref/hdf5write.html>

12 years ago | 0

Answered
Matlab works really wired on Mac
<http://www.mathworks.com/matlabcentral/answers/79489-java-1-6-0_51-breaks-matlab-2012b-and-below>

12 years ago | 0

Answered
matlab window not responding
This week's Java Update is causing problems for MATLAB <http://www.mathworks.com/matlabcentral/answers/79489-java-1-6-0_51-br...

12 years ago | 0

| accepted

Answered
Silly Question - Mac command for 'run' script? Command _ _ R
It is Command+Alt+R. On my Mac laptop, the Alt key is behind the Fn key, so the full chord is Command+Fn+Option+R. This extra ...

12 years ago | 5

| accepted

Answered
How to make the source code of a software in MATLAB hidden?
The pcode function might do the trick for you: <http://www.mathworks.com/help/matlab/ref/pcode.html>

12 years ago | 0

| accepted

Answered
Java 1.6.0_51 breaks MATLAB 2012b and below
Both MathWorks and Apple are aware of the problem, and we are actively investigating. We will post updates here as we learn mor...

12 years ago | 1

Answered
MATLAB help always showing true to if condition
It is not clear what the contents of the files are and what the expected ("correct") output ought to be. Be aware that strcmp r...

12 years ago | 0

Answered
How to extract part of a text file in MATLAB?
I'm guessing you're a C programmer. You can't assign B in the while loop's conditional like you are attempting to do. Use two...

12 years ago | 0

Answered
How do I write a statement that will discard any values in an array if they are over a certain value?
I think you're looking for logical indexing: heights = .1:.3:2 heights < 1 heights(heights<1) You can find more discu...

12 years ago | 0

Answered
Running program from the middle of the script
I often run into similar situations. You can divide your script into multiple sections, and then run each section individually ...

12 years ago | 4

Answered
Executing TISEAN binaries from within Matlab on Mac OS X 10.6.8
It looks like you need Fortran libraries to run TISEAN (which I've never heard of) that cannot be found. Xcode won't help with ...

12 years ago | 0

Answered
Matlab won't install on Mountain Lion
I Google searched a bit, and it seems that Dashcode had been known to hijack the .jnpl extension, which is supposed to start Jav...

12 years ago | 1

| accepted

Answered
Fonts appear differently in Mac and Windows
Let us know if this discussion helps: <http://blogs.mathworks.com/community/2011/05/02/update-on-matlab-for-the-mac/#comment-...

12 years ago | 0

Answered
How can I set up MEX function?
Get yourself Dependency Walker, an essential tool for diagnosing this kind of thing. Visit <http://www.mathworks.com/support/so...

13 years ago | 1

Answered
mldivide out of memory with 6000x6000 matrix
If you are on Windows (64-bit, presumably -- what does <http://www.mathworks.com/help/matlab/ref/computer.html COMPUTER> return?...

13 years ago | 0

Answered
When use 'xlsread' , error 'Eror using Interface.Microsoft_excel_12.0_Object_Library._WorkSheet/set' ,please help!
Do the names of any of the sheets in the file you are trying to read contain any non-ASCII characters, such as Chinese character...

13 years ago | 0

| accepted

Answered
xlswrite and Office 2007
This sounds alot like <http://www.mathworks.com/matlabcentral/answers/58171-xlswrite-and-office-2007 http://www.mathworks.com/ma...

13 years ago | 0

Answered
Why do I get a, Invalid MEX-file error .
Could your MEX-File require another .DLL, and it is *that* DLL that cannot be found? Use a tool like <http://www.dependencywalk...

13 years ago | 0

Answered
Is there a 64-bit version of MCLMCRRT.LIB?
You need to have the 64-bit version of MATLAB installed; the 32-bit version does not include 64-bit libraries. It should be a...

13 years ago | 0

| accepted

Load more