Community Profile

photo

Denis Gurchenkov

Last seen: 28 giorni fa Attivo dal 2011

Statistics

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

Visualizza badge

Content Feed

Visto da

Risposto
When I use Matlab coder,This problem occurs,“Undefined function or variable 'outputLimits'.”
Can you check if you have Image Processing Toolbox installed? outputLimits belongs to that toolbox, so if you don't have it, the...

circa un mese fa | 0

Risposto
How to properly define a complex externally defined input argument to entry point function in code generation?
Hi AB, I don't see any way to accomplish this directly. MATLAB Coder just can't comprehend a notion of an open-ended struct, no...

circa 2 mesi fa | 0

| accettato

Risposto
Coder codegen on multiple cores
Unfortunately, no, MATLAB Coder / codegen can't run in parallel. It is a good idea and the development team is aware of it, but ...

2 mesi fa | 0

Risposto
Is there a way to turn off function specialization for a function or all functions
Hi Nathan, no, unfortunately there is no blanket way to do so. Specialization happens in 3 cases: Calls to a function with in...

3 mesi fa | 0

| accettato

Risposto
How to set output type manually in matlab coder
Hi Alireza, The "emxArray_real_T" type indicates that the code generator does not know what is the maximum number of elements i...

8 mesi fa | 0

Risposto
Convert a sub function within an M file
Hi Phil, A subfuncton cannot be an entry point for MATLAB Coder. You'd need to move that subfunction into a separate .m file, t...

8 mesi fa | 1

| accettato

Risposto
How can matlab coder be configured to generate only one c file?
Yes you can tell MATLAB Coder to generate a single file. Here is the doc page.

9 mesi fa | 0

Risposto
Does Matlab coder work with the Global Optimization Toolbox?
Hi Dave, I passed your feedback to the development team, so they prioritize supporting this function for code generation. If ...

9 mesi fa | 0

Risposto
libmwtbbhist.dll not found when using dynamic library in visual studio project
On the last page in the MATLAB Coder UI, there is a "package" button in the top right part of the screen. If you click it, it wo...

10 mesi fa | 1

| accettato

Risposto
Matlab Coder refuses to support houghlines.m
First, this is a bug. The error is not expected. I referred this to the MathWorks software development team to be fixed in futur...

oltre un anno fa | 0

Risposto
Function 'webread' not supported for code generation Matlab - ThingSpeak - Raspberry Pi
Yes, you are right, webread() does not support code generation. As a workaround, you can use coder.ceval functon to call a hand-...

oltre un anno fa | 2

Risposto
Convert .m file to standalone .exe file without Application/MATLAB compiler
There are two solutions: MATLAB Compiler and MATLAB Coder. See this link for details.

oltre un anno fa | 0

Risposto
How can I print variables when deploying code on a raspberry ?
Hi Guilhem, I think fprintf is the only soltuion that would work for you. For arrays, perhaps you can just write your own myprin...

oltre un anno fa | 2

| accettato

Risposto
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 ...

oltre 2 anni fa | 0

| accettato

Risposto
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...

oltre 2 anni fa | 1

Risposto
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...

oltre 2 anni fa | 1

| accettato

Risposto
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...

oltre 2 anni fa | 0

| accettato

Risposto
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...

circa 3 anni fa | 2

Risposto
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...

circa 3 anni fa | 0

| accettato

Risposto
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 ...

circa 3 anni fa | 0

Risposto
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...

circa 3 anni fa | 1

| accettato

Risposto
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...

circa 3 anni fa | 0

| accettato

Risposto
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. ...

circa 3 anni fa | 0

Risposto
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...

circa 3 anni fa | 2

| accettato

Risposto
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 ...

circa 3 anni fa | 0

Risposto
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...

circa 3 anni fa | 1

| accettato

Risposto
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...

oltre 3 anni fa | 0

Risposto
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...

oltre 3 anni fa | 2

| accettato

Risposto
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...

oltre 3 anni fa | 1

| accettato

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

circa 4 anni fa | 1

| accettato

Carica altro