Community Profile

photo

Denis Gurchenkov


Last seen: 3 maanden ago

MathWorks

44 total contributions since 2011

Contact

Denis Gurchenkov's Badges

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

View details...

Contributions in
View by

Answered
Error generating code to implement RegressionGP Model using MATLAB Function in Simulink (The input to coder.const cannot be reduced to a constant: Unsupported value.)
Hi Michelle, there is nothing wrong with your code, the issue looks like a bug in the product. Can you please contact MathWorks ...

10 maanden ago | 0

| accepted

Answered
Code generation with ordered data structures of objects e.g. lists or vectors of objects
As of R2020a, MATLAB Coder supports cell array of value objects, which get converted to arrays of struct in C and arrays of clas...

12 maanden ago | 1

Answered
Using MATLAB Class with coder.ceval calls in App designer
Hi Noah, you are correct. Some background: MATLAB Compiler (standalon application) is NOT a compiler. It is a deployment too...

ongeveer een jaar ago | 1

| accepted

Answered
Can I change the name of a function during codegen?
Unfortunately, no, there is no mechanism to rename the function in the generated C code. I've added a request for the developmen...

ongeveer een jaar ago | 0

| accepted

Answered
Matlab inbuilt functions to cpp code
Here is the list of functions and classes that can be converted to C/C++ using MATLAB Coder: https://www.mathworks.com/help/code...

ongeveer een jaar ago | 2

Answered
Is it possible to access struct fields dynamically in generated code?
The the specific question you are asking ("is possible to access struct fields dynamically in generated code"), the answer is "n...

ongeveer een jaar ago | 0

Answered
License checkout failed for borrowed license/products
Can you please contact MathWorks technical support and tell them you have a problem related to installation and licensing. This ...

ongeveer een jaar ago | 0

Answered
Direct path in generated code
Hi Arthur, the bottom line: These paths are there because you configured MATLAB Coder to produce C code with runtime error chec...

meer dan een jaar ago | 1

| accepted

Answered
Matlab code to C++ classes in 2018 VS 2019
Hi Bogdan, The CppInterfaceStyle config parameter has been added in R2019b. In prior releases, it is not possible to genera...

meer dan een jaar ago | 0

| accepted

Answered
Embedded Coder generated .zip file problem
These header files contain various type definitions, macros, constants and functions that are used by the generated C/C++ code. ...

meer dan een jaar ago | 0

Answered
What is the best way to work with variable size class properties?
Hi John, MATLAB Coder does support variable-sized arrays inside classes. I think you got confused by the fact that coder.vars...

meer dan een jaar ago | 1

| accepted

Answered
How to Imply the Input Array Dimensions to MATLAB Coder
The closest you can do, I think, is this: codegen ProcessImage -args {coder.typeof(uint(0), [Inf Inf]) } -config:lib This ...

meer dan een jaar ago | 0

Answered
Problem with persistent variables within embedded function
The way I understand your quesiton is this: each of those three calls to SecondOrderLowpassFilterTustin should have its own pers...

meer dan een jaar ago | 1

| accepted

Answered
In R2018b MATLAB Coder - autocode array of strings in a class properties (SetAccess = private)
Hi Katherine, if this class is intended to be used by the MATLAB coder that is converted to C code (via MATLAB Coder), then ther...

bijna 2 jaar ago | 0

Answered
Reading constants and variables from external header files in Matlab Coder
If you have an Embedded Coder license, you can use coder.storageclass to bind an extern C variable to a variable in MATLAB funct...

ongeveer 2 jaar ago | 2

| accepted

Answered
MATLAB Coder: Toolbox Function
MATLAB Coder App does not support generating code for an entry-point function that is nested inside a package. I can think of th...

ongeveer 2 jaar ago | 1

| accepted

Answered
codegen with custom makefile
Definition of boolean_T is contained inside tmwtypes.h. that file is located in matlabroot/extern/include, where "matlabroot" is...

meer dan 2 jaar ago | 1

| accepted

Answered
Embedded coder on m-files (without simulink)
MATLAB Coder is exacrtly the tool that takes an .m file and genrates C code from it. If all you want is MATLAB-to-C conversion, ...

meer dan 2 jaar ago | 1

Answered
Trying to Implement a Function in Simulink
The version of MATLAB Coder that you have supports generating code for matrices of unbounded size (it generates C code that call...

bijna 3 jaar ago | 0

Answered
How to convince Matlab Coder to emit one C function per Matlab function
The best way would be to generate code for Foo directly, skipping FooCaller. That is, in the MATLAB Coder App, pick Foo.m as the...

bijna 3 jaar ago | 2

| accepted

Answered
Matlab coder is fixed-point converter?
Converting .m file to .mex is exactly what MATLAB Coder is about. Open MATLAB Coder App and follow the steps. Leave the "fix...

bijna 3 jaar ago | 0

Answered
How to Increase MATLAB Running Speed ?
Most likely you used MATLAB Compiler to create a deployment executable, and so when that executable is run, first thing it does ...

bijna 3 jaar ago | 0

Answered
Code generation specific output array size
I think your question is "How can I get Mshifted and f to have size 4096 in the generated C code"? With that presumption, if ...

bijna 3 jaar ago | 0

Answered
How to not-optimize my code generated by Matlab coder
If you want to generate f1 and f2 "as is" then you need to make them to be entry points, that is, codegen f1 -args {f1's arg...

ongeveer 3 jaar ago | 0

| accepted

Answered
Conflict of the C++ codes generated by MATLAB Coder
There is a way to define a per-project prefix for each function/global vairable/typedef that coder generates. But you have to ha...

ongeveer 3 jaar ago | 0

Answered
Use variable size data with Matlab function block in Simulink
One possible solution is to "emulate" variable-sized data using a fixed-size buffer and a separate field for size. That is, crea...

ongeveer 3 jaar ago | 1

Answered
What are the limitation on arrays of objects with MATLAB coder?
The later is correct. As of R2017b, MATLAB Coder does not support arrays of objects, so if your MATLAB code creates an array of ...

ongeveer 3 jaar ago | 2

Answered
How to check memory of code generated by MATLAB Coder?
If you have Embedded Coder product, then you can use Static Code Metrics tab in the compilation report - you should be able to s...

ongeveer 3 jaar ago | 0

Answered
How go compile and run generated C++ code in Microsoft Visual Studio 2013
Hi Lukai, note that you have generated code for a MEX function (aka config:mex) as opposed to standalone (aka config:lib). I am ...

ongeveer 3 jaar ago | 0

Answered
how to compile matlab generated c code on raspberry pi
Here is a tutorial for how to convert MATLAB code to C and compile/run it on Raspberry PI: http://www.mathworks.com/matlabcen...

bijna 4 jaar ago | 0

Load more