Community Profile

photo

Arnab De

MathWorks

Active since 2012

Professional Interests: compiler, program analysis, programming languages, verification

Statistics

  • 3 Month Streak
  • Revival Level 1
  • Knowledgeable Level 2
  • First Answer

View badges

Content Feed

View by

Answered
ERROR: Wavelet + MATLAB Coder
There must be other assignments to the variable 'c' where the assigned value is single. If you want 'c' to be single, change the...

6 years ago | 0

Answered
Coder Cannot define entrypoint for classdef
The entry point to MATLAB Coder must be a function. MATLAB classes are not supported as entry points. You can define a function ...

8 years ago | 0

| accepted

Answered
Doubt regarding emxArray_real_T generated from Matlab Coder.
See the doc for <http://www.mathworks.com/help/coder/ug/c-code-interface-for-unbounded-arrays-and-structure-fields.html?searchHi...

9 years ago | 0

Answered
Can not coder conversion
See <http://www.mathworks.com/help/simulink/ug/rules-for-using-variable-length-argument-lists-for-code-generation.html# this art...

9 years ago | 0

Answered
' CODER.VARSIZE is not applicable to 'mxArray' problem while trying to use MATLAB Coder
The value of the variable |pre_img| comes from the output of some extrinsic function. Such variable are of 'mxArray' type. If yo...

9 years ago | 1

Answered
How to compile a Matlab script using Matlab coder which calls a Simulink model
In order to call an external C function from your MATLAB code that you want to use for code generation, you need to use <http://...

9 years ago | 0

Answered
Coder: issue replacing variables with constant values
MATLAB Coder only respects the interface of the entry point function. Although you did not specify your codegen command, I guess...

11 years ago | 1

Answered
Coder: issue replacing variables with constant values
If an expression (such as myconfig.A) has a constant value in all executions of the program, MATLAB Coder tries to use that cons...

11 years ago | 1

Answered
Matlab Coder : Size Mismatch Issue
As C is statically typed, MATLAB Coder needs to compute a static type for all variables in the program, which also involves comp...

11 years ago | 0

Answered
Matlab Coder Segmentation fault
Your C code, in its present form, will not compile. I suspect that the executable you have is a stale result of compilation of a...

11 years ago | 1

| accepted

Answered
How can I get rid of type-punned pointer warnings in my MATLAB coder generated C code?
It appears that the problem is caused by the strict aliasing optimization. Please try compiling the generated C code with |-fno-...

11 years ago | 2

Answered
Using coder.extrinsic with "spectrum.periodogram" in simulink?
From your code, it appears that spectrum is not a function, but a class. |coder.extrinsic| declaration does not work with clas...

11 years ago | 1

| accepted

Answered
Some of my variables are not initialized when converted to C using Coder
The variables x_est and p_est are not used in the MATLAB code. Therefore the compiler eliminates them.

11 years ago | 3

| accepted

Answered
Code generation for fuzzy logic model and recursive function with the Matlab Coder
You can declare the functions not supported by MATLAB Coder as <http://www.mathworks.com/help/toolbox/eml/ref/coder.extrinsic.ht...

11 years ago | 0

Answered
Code generation and class handle
Currently in MATLAB Coder, handle objects can be assigned to class properties only in the constructor of the class. This restric...

11 years ago | 1

| accepted