Community Profile

photo

Darshan Ramakant Bhat


Last seen: 9 días ago

MathWorks

69 total contributions since 2017

Darshan Ramakant Bhat's Badges

  • Knowledgeable Level 3
  • 6 Month Streak
  • First Review
  • 5-Star Galaxy Level 1
  • Personal Best Downloads Level 1
  • First Submission
  • Revival Level 1
  • First Answer
  • Solver

View details...

Contributions in
View by

Answered
How to split the function when generating code with MATLAB coder.
You can try coder.inline('never') in your MATLAB Functions. Below is the documentation for the same. https://in.mathworks.com/...

alrededor de 1 mes ago | 1

Answered
How do I use fprintf with MATLAB Coder?
How are you generating code ? Are you using Coder App or Command Line ? As the error says, you cannot pass an array as input wh...

alrededor de 1 mes ago | 0

| accepted

Answered
How-to change the definition of fundamental data types with MATLAB Embedder Coder for C++?
Thanks for elaborating your issue. From your above explaination I see that you want to use custom types like replacing "int32_T"...

alrededor de 2 meses ago | 0

Answered
Are point cloud functions supported on Simulink Realtime?
Below is the list of functions supported for code-generation : https://in.mathworks.com/help/coder/ug/functions-and-objects-sup...

alrededor de 2 meses ago | 0

| accepted

Answered
Generate code: source code or mex file ?
From your description I am assuming that you are using coder app. When the "build type" is "Source code" it is not suppose to g...

3 meses ago | 1

| accepted

Answered
Do I need to recompile MEX if I edit a function?
When you generate code for "fun1" (which is called as "entry-point function" in code generation terminology), codes will be gene...

3 meses ago | 1

| accepted

Answered
First argument must be a vector.; Function call failed.
I can see that you are using MATLAB R2018a. The codegen support for filtfilt is improved significanlty in the later releases. I...

3 meses ago | 0

| accepted

Answered
How to avoid Main file and interface file system for Code Generation ?
settings -> Code generation -> templated -> Generate an example main program is the correct way of disabling the generate main....

4 meses ago | 0

| accepted

Answered
Is the optimization toolbox compatible with the Matlab Coder ?
Below is the list of functions supported for codegeneration : https://www.mathworks.com/help/referencelist.html?type=function&c...

5 meses ago | 1

| accepted

Answered
input is not supported for code generation
The below page gives link to the list of supported functions for C / C++ code generation : https://www.mathworks.com/help/coder...

5 meses ago | 1

| accepted

Answered
Using #defines within generated C++ code
Why dont you include the header-guard before hand and then include the header using coder.cinclude() ? Below answer is trying t...

5 meses ago | 0

Answered
Error: " The invoked code did not call entry-point function "
As Ameer told your test file should call the entry-point function to automatically infer the types. More detail is present in th...

5 meses ago | 0

Answered
Something to replace 'dir' command?
Below is the list of functions supported for code generation : https://www.mathworks.com/help//referencelist.html?type=function...

6 meses ago | 0

Answered
xlsread equivalent command for Matlab Coder
Below is the list of functions supported for C/C++ codegeneration : https://www.mathworks.com/help//referencelist.html?type=fun...

6 meses ago | 0

Answered
code generate for rigidBodyTree
Handle objects are not supported as entry point input / ouput for codegeneration : https://www.mathworks.com/help/simulink/ug/h...

6 meses ago | 0

| accepted

Answered
LQR and c2d not available with matlab coder.
Unfortunately these two functions are not supported C/C++ code generation yet. I have made an internal request to support these ...

8 meses ago | 0

Answered
lloydsAlgorithm function for matlab coder
This is a File Exchange Submission file and not a inbuilt function provided by MathWorks. This function is not supported for cod...

8 meses ago | 0

Answered
input is not supported for code generation
I found similar question answered before : https://www.mathworks.com/matlabcentral/answers/476121-matlab-to-c-code-conversion-i...

8 meses ago | 1

Answered
Problem using :(colon operator) and ndgrid in Matlab Coder
I modified the code a little bit and the code generation was successful function B = myFunc() a=[ 5 185 ; 50 230; 95 ...

8 meses ago | 0

Answered
Coder not replacing CMSIS library
According to this page, https://au.mathworks.com/help/supportpkg/armcortexm/ug/supported-cmsis-functions.html the matrix multi...

8 meses ago | 0

Answered
I've tried to get Embedded Coder Texas Instruments C2000
I am not sure if you can get trial versions for student editions : https://www.mathworks.com/store/link/products/student/new ...

9 meses ago | 0

Answered
How do I install Embedded Coder Support Package for Energia?
Please contact MathWorks technical support with proper details : https://www.mathworks.com/support/contact_us.html

9 meses ago | 0

Answered
Undefined function or variable 'getFISCodeGenerationData'
From the below documentation is see that the function "getFISCodeGenerationData" is supported from R2018b (release is mentioned ...

9 meses ago | 0

| accepted

Answered
Code generation to C/C++ compiler option "fp:strict"
I could not reproduce this in R2019b version of MATLAB (and I have not verified this is the case in the previous releases). You...

9 meses ago | 1

Answered
Why do I always need coder.varsize directives?
Thanks for asking this interesting question. I will try to answer this to the best of my knowledge. Enable / Disable variable ...

9 meses ago | 2

| accepted

Answered
Is it possible to define cstructname for a struct property of a classdef
Unfortunately coder.cstructname cannot be applied on class properties. I have made an internal note to enhance this restrction i...

9 meses ago | 1

| accepted

Answered
Output argument 'check_equal' is not assigned on some execution paths
This is because output variable should have a value in each execution branch. Otherwise MATLAB Coder compiler will not be able t...

10 meses ago | 1

| accepted

Answered
"ss2sos" :ss2sos is not supported for code generation.
The function "ss2sos" is not supported for codegeneration. You can find the list of supported function in the below page : http...

10 meses ago | 1

Answered
How to see called function in a c file generated from MATLAB coder
It depends on the "other" function. If it is an utility function (not user written), then MATLAB can make use of its own interna...

10 meses ago | 1

Answered
External mode on Simulink
Which version of MATLAB are you using ? Below documentation explains how to connect to external mode in the R2019b MATLAB : ht...

10 meses ago | 1

Load more