Réponse apportée
Is Matlab coder available in R2010a?
I'm not sure if the GUI project interface was available but the commandline functionality was there in the commands: emlc ...

presque 13 ans il y a | 1

| A accepté

Réponse apportée
Understanding switch and case expressions
The cases are checked in order. Since a = 'hi' and 'hi' is in the first case, that one is chosen. Using a cell array: ca...

presque 13 ans il y a | 0

| A accepté

Réponse apportée
mex compile error caused by different position of mexPrintf()
In C (C89 and older I believe) variables must be declared at the beginning of a scope before any other statements are made in th...

presque 13 ans il y a | 4

| A accepté

Réponse apportée
The previous node in a linked list???
That would depend on whether your list implementation is singly or doubly linked. In the latter case, nodes have info about the...

presque 13 ans il y a | 0

| A accepté

Réponse apportée
How to import an excel sheet into MATLAB
XLSREAD can do it programatically: <http://www.mathworks.com/help/matlab/ref/xlsread.html> and there are some GUI's which ...

presque 13 ans il y a | 0

| A accepté

Réponse apportée
Easy question from a newbie
I would just write a little function to do it: function n = ncols(A) s = size(A); n = s(1);

presque 13 ans il y a | 0

Réponse apportée
How can one assigning an input on a GUI edit text box as a function for integration?
Try: d = ['@(x)' y]; instead of d = ['(x)' y]; to make an anonymous function.

presque 13 ans il y a | 0

| A accepté

Réponse apportée
How can I find and intersection values between line and polynomial equation ?
Provided that you can evaluate the fit object like a function, I think you can but I'm not too familiar with those (they can be ...

presque 13 ans il y a | 0

Réponse apportée
How can I pass additional parameters to a function I defined?
You may want to have a look at varargin: <http://www.mathworks.com/help/matlab/ref/varargin.html> Defining a function like...

presque 13 ans il y a | 2

| A accepté

Réponse apportée
How to resolve error:Unable to locate ‘mexopts.bat’
As per the error try: mex -setup and choose the compiler you have installed. That writes mexopts.bat for you so that Sim...

presque 13 ans il y a | 3

Réponse apportée
Installation Location of MEX
There is usually a shell script in $MATLABROOT/bin/mex where $MATLABROOT is the output of matlabroot in MATLAB. T...

presque 13 ans il y a | 0

| A accepté

Réponse apportée
Checking if 'C++ type stream' is valid when using Matlab Coder
Try: fid = coder.opaque('FILE *','NULL') NULL = coder.opaque('FILE *','NULL'); fid = coder.ceval(...); if(fid == N...

presque 13 ans il y a | 1

Réponse apportée
convert xlsx to csv
You could just save it as a CSV in Excel: <http://www.completecampaigns.com/WebHelp/Management/Imports/How_to_convert_an_exis...

presque 13 ans il y a | 0

Réponse apportée
Matlab Coder - specifing input type on multiple entry-point code
1. You can import a configuration object from your MATLAB workspace. In the project click on settings (the gear in the top rig...

presque 13 ans il y a | 1

| A accepté

Réponse apportée
Can't open matlabpool ?
Sometimes: matlabpool close force cleans up the old jobs and allows you to start it up again.

presque 13 ans il y a | 0

| A accepté

Réponse apportée
Can Matlab communicate with a Microsoft Exchange Server?
MATLAB has a .NET interface which allows loading .NET assemblies and calling methods from them: <http://www.mathworks.com/hel...

presque 13 ans il y a | 2

| A accepté

Réponse apportée
How do I launch a matlab gui from the desktop?
Not too certain on the question. If you want to launch the GUI with a click (or two) from MATLAB just right-click the M file in...

presque 13 ans il y a | 0

Réponse apportée
Calling C++ functions from MATLAB
Please note that coder.ceval('std::cout',iteration) will generate cout(10) in the C++ code, assuming the value of ...

presque 13 ans il y a | 1

| A accepté

Réponse apportée
Performance using temporary boolean filter
The performance depends on many things. But it is likely that assigning filter will decrease the number of operations needed to...

environ 13 ans il y a | 0

Réponse apportée
I have four 1x50 matrices and I want to save them to one 4x50 matrix. How can I do this?
A = rand(1,50); B = rand(1,50); C = rand(1,50); D = rand(1,50); E = [A;B;C;D];

environ 13 ans il y a | 0

Réponse apportée
Codegen question of qr function
Given an m-by-n array A, QR produces a Q which is m-by-m. In this case the declaration: coder.typeof(double(0), [1 Inf]) ...

environ 13 ans il y a | 0

Réponse apportée
Matlab will not compile my C++ .exe file
I would recommend trying the '-echo' option to SYSTEM. From the doc: [status,cmdout] = system(command,'-echo') additiona...

environ 13 ans il y a | 0

Réponse apportée
Generating C code from MATLAB GUI
Hi Matthieu, Unfortunately MATLAB Coder does not support using anonymous functions like: @(hObject,eventdata)interfasetes...

environ 13 ans il y a | 2

Réponse apportée
How to have a struct as input to an external function?
Odds are MYFCT is not on the path when the GUI code is running so it cannot be located. If you replace that with a call to: ...

environ 13 ans il y a | 0

Réponse apportée
Can Matlab Coder suport parallel computing toolbox
As of R2012b MATLAB Coder does offer support for PARFOR code generation with MEX targets only: <http://www.mathworks.com/help...

environ 13 ans il y a | 1

Réponse apportée
How can I open about 5 different url's on their own new-window using the system's browser in matlab?
web(url, '-browser') opens the page in the system browser. You can also run arbitrary DOS commands using the DOS function: ...

environ 13 ans il y a | 0

Réponse apportée
Mex compilation with header files
There should be no space between the switch and the directory. So can you try: mex -I./ gateway.c rather than mex -I...

environ 13 ans il y a | 0

Réponse apportée
Optimisation with Matlab builder ex
FMINCON should be supported for deployment. You can see a list of supported toolboxes and related notes on limitations here: ...

environ 13 ans il y a | 0

Réponse apportée
how to display all values
You can resize the block by dragging one of the corners as you would resize a window. That will allow it to show more values. ...

environ 13 ans il y a | 1

Réponse apportée
(n start with 0) An=A0+A1+ A2+A3+…+ An-1+An process??
In MATLAB, array indices begin at 1 rather than zero so A(0) generally won't succeed. The SUM function could be of assistance...

environ 13 ans il y a | 2

Charger plus