photo

Mukund Sankaran

Last seen: 14 days ago Active since 2019

Followers: 0   Following: 0

Statistics

  • Knowledgeable Level 2
  • First Answer

View badges

Feeds

View by

Answered
Including a DLL which was generated with MATLAB Coder
Hello Philipp, There's an example in our documentation that walks through the steps for integrating a DLL generated by MATLAB C...

10 months ago | 0

Answered
How to convert my mexFunction into external C function for Matlab Coder
Yes, you would need to write your own function that doesn't use the mx* data types, so it can be invoked via coder.ceval. It lo...

11 months ago | 0

| accepted

Answered
Does Matlab Coder support object oriented programming (classes, objects)
Hello, This doc page provides more information on this topic: https://www.mathworks.com/help/coder/ug/how-working-with-matlab-c...

1 year ago | 0

Answered
How to prevent replacing variables with their values in matlab coder?
Hello, What you are observing is due to an optimization called constant folding. This is explained here: https://www.mathworks....

1 year ago | 1

Answered
Function return types in Matlab Coder
Hello, This doc page provides some insight into what you are observing: https://www.mathworks.com/help/coder/gs/differences-in-...

1 year ago | 1

Answered
What is the relationship between coder.config objects, registering a toolchain with RTW, and mex_C_glnxa64.xml?
Hello Joe, For MEX code generation, MATLAB Coder will use the MEX compiler that has been selected (for instance via mex-setup)....

1 year ago | 0

Answered
Coder RuntimeChecks Error Line Numbers
Hi Michael, The line numbers are associated with your .m files. If you open the code generation report for your example, and cl...

2 years ago | 0

| accepted

Answered
MATLAB Coder "Cannot allocate this handle object"
Hi Chris, In the code you've shared, if you don't make the variable named "gik" persistent, does code generation succeed ? If i...

3 years ago | 0

Answered
Cell Array not supported with Matlab Coder
Hi Ayush. As suggested in this earlier answer, cell array support for -singleC is under active development. Please reach out to ...

3 years ago | 0

Answered
Mex building from C++ DLL
Hi Tamir, Unfortunately, calling a C++ function that has a reference parameter in its signature is not supported in MATLAB Code...

4 years ago | 0

| accepted

Answered
How can I determine if a script is being run by the codegen -test input parameter?
As far as I'm aware, coder.runTest and codegen -test do not support this behavior. Can you please let us know more about your us...

4 years ago | 1

| accepted

Answered
Matlab to C code conversion issue
There is unfortunately no code generation support for the input function as of MATLAB R2019a. We've made an internal note of you...

5 years ago | 1

| accepted

Answered
Error in Code Generation using MATLAB Coder.
Answered provided here for another question that deals with the same problem - https://www.mathworks.com/matlabcentral/answers/4...

5 years ago | 1

| accepted

Answered
How to add a trained deep neural network into a MATLAB function for C++ code generation using MATLAB Coder?
You are seeing that error message because you've named your function 'convnetwork1' and in line #5 of that function, you are cal...

5 years ago | 2

| accepted

Answered
Conversion of trained Neural Network into C++ data/code using MATLAB Coder.
You may find these resources helpful: https://www.mathworks.com/help/deeplearning/deep-learning-code-generation.html https://w...

5 years ago | 1

| accepted