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

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

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

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

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

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

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

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

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

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

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

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

1 year ago | 9 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...

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

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

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

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

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

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

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

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>

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

3 years ago | 1

Answered

Real-time implementation of cascaded all-pass filters from given transfer function

I think you can use the cascade function available in the signal processing toolbox. Please try to use this function in a loop t...

Real-time implementation of cascaded all-pass filters from given transfer function

I think you can use the cascade function available in the signal processing toolbox. Please try to use this function in a loop t...

3 years ago | 1

Answered

Manipulating an input variable for newton raphson numerical method

I see that in the equation y = (x.^(-1/2))+(0.86*log(((0.0001)/3.7)+((2.51/Re)*x.^(-1/2)))); you are dividing a scalar v...

Manipulating an input variable for newton raphson numerical method

I see that in the equation y = (x.^(-1/2))+(0.86*log(((0.0001)/3.7)+((2.51/Re)*x.^(-1/2)))); you are dividing a scalar v...

3 years ago | 1

| accepted

Answered

I have a rotary encoder connected to my arduino to measure velocity, how can I read that output with matlab?

It is possible to read the sensor data from Arduino using MATLAB. Following links will give more details about the same: <htt...

I have a rotary encoder connected to my arduino to measure velocity, how can I read that output with matlab?

It is possible to read the sensor data from Arduino using MATLAB. Following links will give more details about the same: <htt...

3 years ago | 2

Answered

Importing multiple csv files with header as a table while preserving their names manually?

I hope below MATLAB answer post will help you: <https://www.mathworks.com/matlabcentral/answers/48410-how-to-read-multiple-cs...

Importing multiple csv files with header as a table while preserving their names manually?

I hope below MATLAB answer post will help you: <https://www.mathworks.com/matlabcentral/answers/48410-how-to-read-multiple-cs...

3 years ago | 1

Answered

How to obtain and formatting a table of data from a URL?

Please go through the below MATLAB answer and File Exchange posts: <https://www.mathworks.com/matlabcentral/answers/315088-ho...

How to obtain and formatting a table of data from a URL?

Please go through the below MATLAB answer and File Exchange posts: <https://www.mathworks.com/matlabcentral/answers/315088-ho...

3 years ago | 1