Answered
Mex error. Collect2 -lstdc++
What Linux distro are you running? I'll ignore the warns and address the link error: It looks like the g++ libraries are not...

14 years ago | 0

Answered
Simulink model from 32-bit to 64-bit machine
That is the Windows socket library. You may need to go to a Microsoft forum for a more knowledge group vis-a-vis 64-bit porting...

14 years ago | 0

Answered
Matlab function to get text for display of object property
You can overload the display and/or disp methods for your object, which I believe will allow you to do what you want. See <http...

14 years ago | 0

Answered
Different Matlab Sessions
You could accomplish this within one version of MATLAB by using different preferences setting folders for the two sessions. Ses...

14 years ago | 1

| accepted

Answered
SuiteSparse's KLU won't install
mxCreateScalarDouble is an old MEX API that was replaced circa 2002 and dropped after 2006. You may be able to swap in its repl...

14 years ago | 0

| accepted

Answered
mex -setup doesn't find the compiler gfortran
Elizabeth, If gfortran is on your PATH, MATLAB should be able to find it. Run "mex -setup" and just pick the only option ava...

14 years ago | 0

| accepted

Answered
Compiler Errors for a MEX file using the CPLEX C API
It looks like MEX can't find the CPLEX libraries. Try adding: -L<path/to/cplex/libs> -l<name_of_library> when you invoke...

14 years ago | 0

| accepted

Answered
Where can I download MCR 7.11?
You will need to go to the provider of the compiled application to get the MATLAB Compiler Runtime (MCR) that matches the applic...

14 years ago | 0

Answered
Sending C++ object to MATLAB workspace,and using it in mex on Button Callback
I believe MATLAB Engine works by instantiating a *process* for MATLAB and communicating via COM. So, the CRectangle you are cre...

14 years ago | 2

Answered
Execution Speed of mex64 components in linux
It certainly seems that the Microsoft compiler has the edge in this situation! Can we assume you are controlling for other vari...

14 years ago | 0

| accepted

Answered
R2011b iMAC64 mex files not compiling
It looks like your computer has relatively tight privileges on it. Is this a personal Mac, or a computer maintained by others. ...

14 years ago | 0

Answered
A question about a version of Matlab, Please help me
MEX is supported by all versions of MATLAB still of interest and, by design, MEX changes only minutely from release to release, ...

14 years ago | 0

Answered
xlswrite
Hi Nasir, Is the value of A a scalar? Even if you could make this work, writing to an Excel file at every loop iteration sou...

14 years ago | 0

| accepted

Answered
How to include libraries in a mex file
As Friedrich states, you will need to add a few switches to you call to MEX: * -I to indicated the directory where your heade...

14 years ago | 2

Answered
READ .Xls files in matlab for mac
If you have a true .XLS file (that it, the older format dating from releases before Office 2007, or files from later release of ...

14 years ago | 0

Answered
Problem Starting MEX file
MEX is not able to find the 64-bit Visual C++ 2008 tools. I would recommend: # First confirm that 64-bit Visual Studio 2008 ...

14 years ago | 0

| accepted

Answered
why can't we use visual C++ express 2010 with R2012a ?
The SDK you installed contains all of the bits MATLAB needs to compile 64-bit binaries, and is what "mex -setup" will list. You...

14 years ago | 0

| accepted

Answered
import large amount of data from Matlab R2011a to Igor Pro - on mac
If you have a license for the professional version of MATLAB (but probably not the student version), you should be able to downl...

14 years ago | 0

Answered
How to judge "load" function
You could perform the load in a try/catch block and react accordingly: try load(filename); catch e % Something ...

14 years ago | 0

| accepted

Answered
How to get the numeric value from text after parsing an xml file?
I've run into this kind of thing. After calling xml2struct, "walk" the structure and use str2num on anything you want as a nume...

14 years ago | 0

| accepted

Answered
Importdata within a User-Defined Matlab Function
You are passing mydata to importdata as a string literal (single quotes around the word mydata), so MATLAB is trying to open a f...

14 years ago | 0

| accepted

Answered
updating newer matlab version with toolbox from old
"No" to what you are describing -- the license manager would stop you even if you could manage to find the right files, and thos...

14 years ago | 0

| accepted

Answered
Finding number in a string
The following will create a numeric array, N, where the value of N(x) indicates which element of D contained the string C(x). I...

14 years ago | 0

| accepted

Answered
adding a text in a file
I would first get this working without file I/O: str = 'Add new text HERE and then the rest'; ins = strfind(str, 'HERE') +...

14 years ago | 0

| accepted

Answered
Tab completion produces no filenames (Mac OS)
I disagree with Laurens -- tab completion does work in many situations when a function is known to expect a filename as input. ...

14 years ago | 2

Answered
Read from file
If you really want to just ignore the the parenthesis, you can treat them as "whitespace" characters in a call to textscan: ...

14 years ago | 1

Answered
Calling MATLAB from a C++ program in Linux
gcc/g++ is not able to find MATLAB's header and library files. If compiling from a Linux shell, you will need to add -I, -L, an...

14 years ago | 0

| accepted

Answered
How do I use C++ classes in a mex file?
While you can compile C++ code into a MEX file (see above), accessing methods will take a bit of work. You will still need to c...

14 years ago | 0

Answered
MATLAB crashes with big mfile
MATLAB does scan a folder when you navigate ("cd") to it, so it is not out the question to see a behavior (bug) triggered by "me...

14 years ago | 0

Answered
Anyway to run MATLAB in the new Mac OS X?
Try installing <http://xquartz.macosforge.org/trac/wiki/X112.7.1 XQuartz version 2.7.1>.

14 years ago | 0

Load more