photo

John Elliott

MathWorks

Actif depuis 2011

Followers: 0   Following: 0

Message

Statistiques

  • 3 Month Streak
  • Knowledgeable Level 2
  • First Answer

Afficher les badges

Feeds

Afficher par

Réponse apportée
How do you get MATLAB Coder to use -c99 rather than -ansi?
Hi Alexander, I think that there are a number of solutions. First, you can do as you suggest, and modify the generated mexopt...

presque 10 ans il y a | 0

Réponse apportée
Coder: Does not allocate output structure
Hi Roger, When calling entry-point functions that return emxArray variables (or structures containing emxArray fields), you mus...

environ 10 ans il y a | 0

Réponse apportée
sizes mismatch error with reduction variable inside parfor inside mex function
As a workaround for this problem, you could try moving the sum operation into a sub-function. Instead of A=A+B; use ...

plus de 10 ans il y a | 1

Réponse apportée
Matlab Coder Load function fails to locate files in subfolders
You should add 'subfolder' to your path, then use coder.load('myfile.mat')

plus de 11 ans il y a | 0

Réponse apportée
How can I create a DLL that can be called from Excel?
Hi Zhanna, Have you tried setting the target language to C++ when you generate the DLL using MATLAB Coder? -John

plus de 11 ans il y a | 1

Réponse apportée
Maximum input matrix size for mex function
Hi Ryan, You are probably running up against the Win32 stack size limit. One solution is for you to declare your input matrix...

plus de 12 ans il y a | 0

Réponse apportée
ambiguous code generation
Numeric suffixes are added to file names to ensure uniqueness. If you have a function that is called once with, say, a double ar...

plus de 13 ans il y a | 1

Réponse apportée
C++ code generation fail
Instead of, say, z = 42; use z = complex(42);

plus de 13 ans il y a | 1

Réponse apportée
Code generation
In addition to the explicit problem that Kaustubha identified, you have declared you C function to accept real_T arguments, but ...

plus de 13 ans il y a | 0

Réponse apportée
Any trick to generate MEX functions for Linux by using Matlab Coder in Windows?
Code generated for one platform will not necessarily work on other platforms because of differences in register sizes etc. Simil...

plus de 13 ans il y a | 1

Réponse apportée
Using Coder's generated C files in Visual Studio ?
Assuming you're just generating the C++ code (and not creating a library), don't forget to add faceImage_initialize.cpp and face...

plus de 13 ans il y a | 1

| A accepté

Réponse apportée
Alternative to ODE45(), Using Embedded Matlab Coder
MATLAB Coder does not support any solvers. At this time, your only options is to write your own. Embedded Coder does not provide...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
couldn't run codegen under matlab
The codegen command uses >> copyfile(<source_file>,<dest_dir>,'f') to copy mexopts.sh, which is typically found in [matla...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
How to get working Matlab Coder in Linux
Hi, It appears that you have an incomplete install of the gcc compiler. Based on the build log, the 'gcc' command requires (for...

plus de 13 ans il y a | 1

Réponse apportée
Can we generate c code for a matlab file which calls a mex source file
The emlc command cannot compile mex functions. You have two options for integrating your mex function algorithm with the MATLAB ...

plus de 13 ans il y a | 1