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

4 years 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 ...

4 years 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...

4 years 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 ...

4 years 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

4 years 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 ...

4 years 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...

4 years 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 ...

4 years 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...

4 years 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...

4 years 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...

4 years 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...

4 years 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...

4 years ago | 1

Answered
Error using mex. No supported compiler or SDK was found.
You can install any of the supported compiler for MATLAB Coder. https://www.mathworks.com/support/requirements/supported-compi...

4 years ago | 1

Answered
Unable to Convert Vitdec to C using MATLAB coder
The below documentation page lists the functions supported for code generation : https://www.mathworks.com/help/simulink/ug/fun...

4 years ago | 2

| accepted

Answered
Matlab Coder: codegen command line vs gui. 100x slower. why?
MATLAB Compiler and MATLAB Coder are two separate products having different objectives. As you have guessed correctly, MATLAB ...

4 years ago | 1

Submitted


Road profile and traffic analysis using MATLAB mobile
MATLAB mobile is used to collect the sensor data while traveling along a road which is used to analyze road profile and congesti...

5 years ago | 5 downloads |

Thumbnail

Answered
How can I send a string to a simulink input block?
Now strings are supported in Simulink. You can use the string related blocks to do the string manupulation. Below is the list of...

6 years ago | 1

Answered
Circle Fit at the Corner of the Step??
I guess there is something wrong going on in estimating the radius of curvature using the x,y points. Please refer below code to...

6 years ago | 1

Answered
Is toolbox "MATLAB_Builder_for_Java" the same as "MATLAB Compiler SDK" ?
*MATLAB Builder JA* was present as a toolbox prior to R2015a. From R2015a , *MATLAB Compiler SDK* was introduced by refactoring ...

6 years ago | 1

| accepted

Answered
how ro make a cross section for a meshplot
The following MATLAB answer posts discusses about the similar issue: <https://www.mathworks.com/matlabcentral/answers/231881-...

6 years ago | 1

| accepted

Answered
Can I get an .stl from a spreadsheet?
I hope below File Exchange Submission will help you: <https://www.mathworks.com/matlabcentral/fileexchange/4512-surf2stl>

6 years ago | 1

Answered
How to compile a DLL file to be externally configured
Below MATLAB answer posts discusses about the similar issue: <https://www.mathworks.com/matlabcentral/answers/260403-how-to-s...

6 years ago | 1

Answered
Transfer Function with high order (for example 15th order or more)
The question is abstract. I am not clear if you are looking for a physical system with higher transfer function or you just rand...

6 years ago | 1

Answered
Circle Fit at the Corner of the Step??
This is due to the different scaling of the axes. If you observe y axes varies from 0 to 1, while x axes varies from 0 to 2000....

6 years ago | 2

Answered
Good method to store pyramid shaped cell array?
You can make use the of the linear indexing of MATLAB. Basically 2D matrix can be stored as a single dimension cell array. To ac...

6 years ago | 1

| accepted

Answered
how to change the order of objects shown in a table using regioncrops
When the position of the object is changed, the output 'stats' table will also change. You have to do row wise comparison of two...

6 years ago | 1

Answered
made input into string but it's not showing all the numbers I need
There can be multiple ways to resolve this. One simple way is to using sprintf() to specify the format. The code will be like be...

6 years ago | 1

Answered
Configure Matlab Compiler to Visual Studio programmatically
If you are using the MATLAB version which is prior to R2017 below answers may help you: <https://www.mathworks.com/matlabcent...

6 years ago | 1

Answered
Webread certificate problems - roll your own java works, webread doesn't. Why?
There is a detailed answer available for the similar issue in the below answer link: <https://www.mathworks.com/matlabcentral...

6 years ago | 1

Load more