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

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

mer än 4 år 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 ...

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

mer än 4 år 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...

Coder not replacing CMSIS library

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

mer än 4 år 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 ...

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

mer än 4 år 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

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

mer än 4 år 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 ...

Undefined function or variable 'getFISCodeGenerationData'

From the below documentation is see that the function "getFISCodeGenerationData" is supported from R2018b (release is mentioned ...

mer än 4 år 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...

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

mer än 4 år 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 ...

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

mer än 4 år 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...

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

mer än 4 år 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...

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

mer än 4 år 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...

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

mer än 4 år 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...

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

mer än 4 år 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...

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

mer än 4 år 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...

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

mer än 4 år 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...

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

mer än 4 år 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 ...

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

nästan 5 år 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...

mer än 5 år ago | 3 downloads |

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

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

mer än 6 år 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...

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

mer än 6 år 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 ...

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

mer än 6 år 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-...

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

mer än 6 år 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>

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>

mer än 6 år 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...

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

mer än 6 år 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...

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

mer än 6 år 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....

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

mer än 6 år 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...

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

mer än 6 år 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...

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

mer än 6 år 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...

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

mer än 6 år 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...

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

mer än 6 år 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...

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

mer än 6 år ago | 1