Darshan Ramakant Bhat
MathWorks
Followers: 0 Following: 0
Feeds
已回答
MATLAB Coder use C arrays not emxArray
You will get "emxarray" at the interface when you have a unbounded variable size data. I hope below documents will help you : h...
MATLAB Coder use C arrays not emxArray
You will get "emxarray" at the interface when you have a unbounded variable size data. I hope below documents will help you : h...
3 years 前 | 0
已回答
Is it possible to make MATLAB Coder generate C++ code with tunable parameters?
Unfortunately I dont think it is possible right now with MATLAB Coder. Non-tunable properties are treated as compile time consta...
Is it possible to make MATLAB Coder generate C++ code with tunable parameters?
Unfortunately I dont think it is possible right now with MATLAB Coder. Non-tunable properties are treated as compile time consta...
3 years 前 | 1
| 已接受
已回答
C Code generation FFT with variable input size
You can use coder.typeof() : codegen -config cfg myFFT -args {coder.typeof(0,[400,1],[1,1])} -report You can refer above menti...
C Code generation FFT with variable input size
You can use coder.typeof() : codegen -config cfg myFFT -args {coder.typeof(0,[400,1],[1,1])} -report You can refer above menti...
3 years 前 | 0
已回答
[Matlab Coder] Generate C code with hierarchy
The function "Is_dynamics" is getting inlined by compiler optimization while generating code from MATLAB. Please try coder.inlin...
[Matlab Coder] Generate C code with hierarchy
The function "Is_dynamics" is getting inlined by compiler optimization while generating code from MATLAB. Please try coder.inlin...
3 years 前 | 0
| 已接受
已回答
Mex files and distributed arrays
Not all features / functions are supported by MATLAB Coder. Below is the list of functions & features suppored by MATLAB Coder ...
Mex files and distributed arrays
Not all features / functions are supported by MATLAB Coder. Below is the list of functions & features suppored by MATLAB Coder ...
3 years 前 | 0
已回答
Matlab Coder App - undefined function when generating nested package
This is a limitation from MATLAB Coder. Entrypoint function should not be residing inside a package. We already have internal re...
Matlab Coder App - undefined function when generating nested package
This is a limitation from MATLAB Coder. Entrypoint function should not be residing inside a package. We already have internal re...
3 years 前 | 0
| 已接受
已回答
how to convert emd algorithm to C language
It is supported for code generation. Few debugging steps : Make sure that the entrypoint function executes properly in MATLAB ...
how to convert emd algorithm to C language
It is supported for code generation. Few debugging steps : Make sure that the entrypoint function executes properly in MATLAB ...
3 years 前 | 0
已回答
Conversion problem of Pmusic function based on MATLAB ® Coder ™
You are right, the list reflects the functions supported for the latest release. You need to upgrade to the latest release to ge...
Conversion problem of Pmusic function based on MATLAB ® Coder ™
You are right, the list reflects the functions supported for the latest release. You need to upgrade to the latest release to ge...
3 years 前 | 0
| 已接受
已回答
Building generated code for another - no Matlab machine
You can use packNGo workflow to get all the necessary code in a zipped file. Then you can port that to other machine (provided y...
Building generated code for another - no Matlab machine
You can use packNGo workflow to get all the necessary code in a zipped file. Then you can port that to other machine (provided y...
3 years 前 | 0
已回答
MATLAB Coder lots of syntax and function issues
Below is the list of functions supported in MATLAB Coder ; https://www.mathworks.com/help/coder/ug/functions-and-objects-suppor...
MATLAB Coder lots of syntax and function issues
Below is the list of functions supported in MATLAB Coder ; https://www.mathworks.com/help/coder/ug/functions-and-objects-suppor...
3 years 前 | 0
已回答
Is there an estimate/ratio of many lines of C code is produced by MATLAB? Is there an estimate of time too?
The number of lines of code will vary depending on on the actual MATLAB function. Innoncent looking fft() can produce 100+ lines...
Is there an estimate/ratio of many lines of C code is produced by MATLAB? Is there an estimate of time too?
The number of lines of code will vary depending on on the actual MATLAB function. Innoncent looking fft() can produce 100+ lines...
3 years 前 | 1
已回答
MATLAB coder alternatives for textread.
Below is the list of functions supported by MATLAB Coder as of latest release : https://www.mathworks.com/help/coder/ug/functio...
MATLAB coder alternatives for textread.
Below is the list of functions supported by MATLAB Coder as of latest release : https://www.mathworks.com/help/coder/ug/functio...
3 years 前 | 1
| 已接受
已回答
Can MATLAB Coder generate code that uses Intel MKL?
You can refer to "Coder Replacement Libraries" available in MATLAB Coder. Please refer the below docs for more details : https:...
Can MATLAB Coder generate code that uses Intel MKL?
You can refer to "Coder Replacement Libraries" available in MATLAB Coder. Please refer the below docs for more details : https:...
3 years 前 | 0
已回答
New fields cannot be added when structure has been read or used, MATLAB coder.
If you want to make this class codegen compatible, you will have to make the field as a struct type. Below is a sample modified ...
New fields cannot be added when structure has been read or used, MATLAB coder.
If you want to make this class codegen compatible, you will have to make the field as a struct type. Below is a sample modified ...
3 years 前 | 0
已回答
ARM Cortex A-chip emulator: How to estimate processing time?
You have observed it correctly. When you execure a PIL MEX at a high level below things will happen : Marshall the input data...
ARM Cortex A-chip emulator: How to estimate processing time?
You have observed it correctly. When you execure a PIL MEX at a high level below things will happen : Marshall the input data...
3 years 前 | 0
| 已接受
已回答
Define array to be code generated as static
Please refer the below documentation on stack space usage and dynamic memory allocation : https://www.mathworks.com/help//coder...
Define array to be code generated as static
Please refer the below documentation on stack space usage and dynamic memory allocation : https://www.mathworks.com/help//coder...
3 years 前 | 0
已回答
Does Matlab coder self checking Matlab output vs. C code output when generating code?
Line execution count just gives you the code coverage data from the test. It is not necessary to achieve 100% execution in order...
Does Matlab coder self checking Matlab output vs. C code output when generating code?
Line execution count just gives you the code coverage data from the test. It is not necessary to achieve 100% execution in order...
3 years 前 | 1
| 已接受
已回答
How to use coder.ceval to call a void type C++ function
Try defining the variable 'y' in MATLAB function then try to use coder.wref() Y = 0; coder.ceval('cpp_fun', a, b, coder.wref(Y...
How to use coder.ceval to call a void type C++ function
Try defining the variable 'y' in MATLAB function then try to use coder.wref() Y = 0; coder.ceval('cpp_fun', a, b, coder.wref(Y...
3 years 前 | 0
已回答
Matlab coder generated a c function which has void output, even though the matlab function has double array input
This is an intentional design in the generated code and the users dont have control over it to change this behaviour as of today...
Matlab coder generated a c function which has void output, even though the matlab function has double array input
This is an intentional design in the generated code and the users dont have control over it to change this behaviour as of today...
3 years 前 | 1
已回答
How to convert this C++ code into Matlab or How can I run this into Matlab
Hope below documents will be helpful for you https://www.mathworks.com/help/coder/ug/call-cc-code-from-matlab-code.html https...
How to convert this C++ code into Matlab or How can I run this into Matlab
Hope below documents will be helpful for you https://www.mathworks.com/help/coder/ug/call-cc-code-from-matlab-code.html https...
3 years 前 | 0
| 已接受
已回答
Deployment of generated code
You need to change the build type from "MEX" to "lib" or "dll" or "source code only". Below documentation talks more about it....
Deployment of generated code
You need to change the build type from "MEX" to "lib" or "dll" or "source code only". Below documentation talks more about it....
3 years 前 | 0
| 已接受
已回答
The extrinsic function 'dir' is not available for standalone code generation. It must be eliminated for stand-alone code to be generated. It could not be eliminated because its outputs appear to influence the calling function. Fix this error by not u
The function 'dir' is not supported for codegeneration. Below is the list of functions supported for codegen : https://www.math...
The extrinsic function 'dir' is not available for standalone code generation. It must be eliminated for stand-alone code to be generated. It could not be eliminated because its outputs appear to influence the calling function. Fix this error by not u
The function 'dir' is not supported for codegeneration. Below is the list of functions supported for codegen : https://www.math...
3 years 前 | 0
已回答
Functions 'Tiff' and 'geotiffwrite' are not supported for code generation
Like you mentioned those functions are not yet supported for code generation. Workaround 1 Below is the list of functions cur...
Functions 'Tiff' and 'geotiffwrite' are not supported for code generation
Like you mentioned those functions are not yet supported for code generation. Workaround 1 Below is the list of functions cur...
3 years 前 | 0
已回答
Converting EMD (Empirical mode decomposition) fuction from matlab toolbox to c language
In MATLAB Coder you cannot directy generate code from built-in functions. Please create a wrapper function which uses the buil...
Converting EMD (Empirical mode decomposition) fuction from matlab toolbox to c language
In MATLAB Coder you cannot directy generate code from built-in functions. Please create a wrapper function which uses the buil...
3 years 前 | 0
| 已接受
已回答
Does Setting Variables as Integers for MATLAB Code Generation requires casting every time?
The default value of a number in MATLAB is 'double'. You can verify that with the below code : >> a = 0 a = 0 >> ...
Does Setting Variables as Integers for MATLAB Code Generation requires casting every time?
The default value of a number in MATLAB is 'double'. You can verify that with the below code : >> a = 0 a = 0 >> ...
3 years 前 | 1
| 已接受
已回答
Coder with classes: Default values and input checking
Yes this is slightly tricky. The definition of the generated class is decided based on the actual use of that class in the other...
Coder with classes: Default values and input checking
Yes this is slightly tricky. The definition of the generated class is decided based on the actual use of that class in the other...
3 years 前 | 0
已回答
Instantiate an instance of C++ object via MATLAB Coder
I tried to solve this issue by creating the similar example. I have mocked up some of the files using my own definition of the...
Instantiate an instance of C++ object via MATLAB Coder
I tried to solve this issue by creating the similar example. I have mocked up some of the files using my own definition of the...
3 years 前 | 1
已回答
Using custom C structures with MATLAB coder
You dont have to use code.cstructname() for your usecase. I have modified your code and try to make it work. I have attached t...
Using custom C structures with MATLAB coder
You dont have to use code.cstructname() for your usecase. I have modified your code and try to make it work. I have attached t...
3 years 前 | 1
| 已接受
已回答
Problem with basics of including C++ code with coder (coder.ceval)
I changed the MATLAB file name to avoid the clash. Also added coder.cinclude as suggested by Walter. function out = helloWor...
Problem with basics of including C++ code with coder (coder.ceval)
I changed the MATLAB file name to avoid the clash. Also added coder.cinclude as suggested by Walter. function out = helloWor...
4 years 前 | 0
| 已接受
已回答
Resample Incorrect Assumption During Codegen.
Thanks for the detailed description and reproduction steps. This looks like a bug in the codegen support for this function. I ...
Resample Incorrect Assumption During Codegen.
Thanks for the detailed description and reproduction steps. This looks like a bug in the codegen support for this function. I ...
4 years 前 | 0