Beantwortet
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...

etwa 14 Jahre vor | 0

Beantwortet
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...

etwa 14 Jahre vor | 0

Beantwortet
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...

etwa 14 Jahre vor | 0

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

etwa 14 Jahre vor | 1

| akzeptiert

Beantwortet
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...

etwa 14 Jahre vor | 0

| akzeptiert

Beantwortet
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...

etwa 14 Jahre vor | 0

| akzeptiert

Beantwortet
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...

etwa 14 Jahre vor | 0

| akzeptiert

Beantwortet
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...

etwa 14 Jahre vor | 0

Beantwortet
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...

etwa 14 Jahre vor | 2

Beantwortet
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...

etwa 14 Jahre vor | 0

| akzeptiert

Beantwortet
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. ...

etwa 14 Jahre vor | 0

Beantwortet
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, ...

etwa 14 Jahre vor | 0

Beantwortet
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...

etwa 14 Jahre vor | 0

| akzeptiert

Beantwortet
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...

etwa 14 Jahre vor | 2

Beantwortet
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 ...

etwa 14 Jahre vor | 0

Beantwortet
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 ...

etwa 14 Jahre vor | 0

| akzeptiert

Beantwortet
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...

etwa 14 Jahre vor | 0

| akzeptiert

Beantwortet
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...

etwa 14 Jahre vor | 0

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

etwa 14 Jahre vor | 0

| akzeptiert

Beantwortet
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...

etwa 14 Jahre vor | 0

| akzeptiert

Beantwortet
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...

etwa 14 Jahre vor | 0

| akzeptiert

Beantwortet
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...

etwa 14 Jahre vor | 0

| akzeptiert

Beantwortet
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...

etwa 14 Jahre vor | 0

| akzeptiert

Beantwortet
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') +...

etwa 14 Jahre vor | 0

| akzeptiert

Beantwortet
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. ...

etwa 14 Jahre vor | 2

Beantwortet
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: ...

etwa 14 Jahre vor | 1

Beantwortet
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...

etwa 14 Jahre vor | 0

| akzeptiert

Beantwortet
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...

etwa 14 Jahre vor | 0

Beantwortet
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...

etwa 14 Jahre vor | 0

Beantwortet
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>.

etwa 14 Jahre vor | 0

Mehr laden