I am an Associate Application Support Engineer in Engineering Development Group at MathWorks HYD. My areas of interest are Communications, Signal processing and Simulink.

DISCLAIMER: Any advice or opinions here are my own, and in no way reflect that of Mathworks.

Answered

problem with building PX4 code using simulink

Before deploying code to any Pixhawk board from Simulink, it is required to reconnect the board to the computer. After reconnect...

problem with building PX4 code using simulink

Before deploying code to any Pixhawk board from Simulink, it is required to reconnect the board to the computer. After reconnect...

28 days ago | 0

Answered

Cannot get a feedback by serial connection from a device

You can refer to the following documentations https://in.mathworks.com/help/instrument/serial-warning-unable-to-read-any-data.h...

Cannot get a feedback by serial connection from a device

You can refer to the following documentations https://in.mathworks.com/help/instrument/serial-warning-unable-to-read-any-data.h...

28 days ago | 0

Answered

Using 'plotResiduals' in a for loop.. is it possible to using indexing to store the results and plot then together?

It appears that plotResidual respects "hold on" for other than probability plots. You can create the probability plot directly u...

Using 'plotResiduals' in a for loop.. is it possible to using indexing to store the results and plot then together?

It appears that plotResidual respects "hold on" for other than probability plots. You can create the probability plot directly u...

28 days ago | 0

| accepted

Answered

d2c not giving the same results for the same input

c2d function is used to convert model from continuous to discrete. Since, continuous data is truncated into discrete domain, the...

d2c not giving the same results for the same input

c2d function is used to convert model from continuous to discrete. Since, continuous data is truncated into discrete domain, the...

29 days ago | 0

Answered

Algebraic state in algebraic loop containing 'RK/Subsystem/Subsystem/Divide2' computed at time 0.0 is Inf or NaN. There may be a singularity in the solution. If the model is correct, try reducing the step size (either by reducing the fixed step siz

myFile.mat doesn't contains PV and PUSE variables and there is 'from file' block extracting data from untitled.mat. Can you prov...

Algebraic state in algebraic loop containing 'RK/Subsystem/Subsystem/Divide2' computed at time 0.0 is Inf or NaN. There may be a singularity in the solution. If the model is correct, try reducing the step size (either by reducing the fixed step siz

myFile.mat doesn't contains PV and PUSE variables and there is 'from file' block extracting data from untitled.mat. Can you prov...

1 month ago | 0

Answered

Code Generation: Subsystems cannot have the same name caused by Matlab function

You may need to specify Unique Function Interface Names Each function interface corresponding to the same reusable library subs...

Code Generation: Subsystems cannot have the same name caused by Matlab function

You may need to specify Unique Function Interface Names Each function interface corresponding to the same reusable library subs...

1 month ago | 0

Answered

How do I also get headers for a table extracted in an SQL query

From my understanding, you are trying to get column headers from table. When the SQL script executes, it returns two cursor obje...

How do I also get headers for a table extracted in an SQL query

From my understanding, you are trying to get column headers from table. When the SQL script executes, it returns two cursor obje...

1 month ago | 1

Answered

I don't want Matlab translated to Spanish

You can refer to this documentation to translate the MATLAB documentation to the preferred language If your UI elements also ke...

I don't want Matlab translated to Spanish

You can refer to this documentation to translate the MATLAB documentation to the preferred language If your UI elements also ke...

1 month ago | 1

| accepted

Answered

Host computer Bluetooth connection to Mindstorm EV3

The following are few errors, their corresponding reasons and workarounds to connect to legoev3 Case 1: Error: >> myev3=legoe...

Host computer Bluetooth connection to Mindstorm EV3

The following are few errors, their corresponding reasons and workarounds to connect to legoev3 Case 1: Error: >> myev3=legoe...

1 month ago | 0

Answered

Polynomial eigenvalue problems as linear eigenvalue problems and function 'polyeig'

You can use eigs function to calculate the eigenvectors of a sparse matrix, or to calculate the eigenvalues of a sparse matrix t...

Polynomial eigenvalue problems as linear eigenvalue problems and function 'polyeig'

You can use eigs function to calculate the eigenvectors of a sparse matrix, or to calculate the eigenvalues of a sparse matrix t...

1 month ago | 0

| accepted

Answered

Close Matlab panels in tiling window manager

You may go to Preferences >> Keyboard >> Shortcuts and check if Active settings are properly set to "Windows Default Set" instea...

Close Matlab panels in tiling window manager

You may go to Preferences >> Keyboard >> Shortcuts and check if Active settings are properly set to "Windows Default Set" instea...

1 month ago | 0

Answered

multiple object tracking accuracy (MOTA)

You can use trackErrorMetrics to evaluate the accuracy of tracking. trackErrorMetrics provides multiple root mean square (RMS) e...

multiple object tracking accuracy (MOTA)

You can use trackErrorMetrics to evaluate the accuracy of tracking. trackErrorMetrics provides multiple root mean square (RMS) e...

1 month ago | 0

Answered

Mex Visual Studio C/C++ compiler

You can find answer to a similar question here

Mex Visual Studio C/C++ compiler

You can find answer to a similar question here

1 month ago | 0

Answered

Problem with cascading two buffers in Simulink

Hi, From my understanding you are trying to get the 1512 datapoints starting from zero by using the buffer of length 42112. W...

Problem with cascading two buffers in Simulink

Hi, From my understanding you are trying to get the 1512 datapoints starting from zero by using the buffer of length 42112. W...

1 month ago | 0

Answered

Is there a .mat file that stores the topography of the other planets or moon?, like topo.mat on Matlab defines the topography on Earth.

The data file, topo.mat, containing Earth’s topographic data is used for the purpose of providing examples. This data is availab...

Is there a .mat file that stores the topography of the other planets or moon?, like topo.mat on Matlab defines the topography on Earth.

The data file, topo.mat, containing Earth’s topographic data is used for the purpose of providing examples. This data is availab...

2 months ago | 0

Answered

Issue Installing MATLAB 2019

From my understanding 403 Forbidden is returned when a user requests a media or web page that the server does not allow them to....

Issue Installing MATLAB 2019

From my understanding 403 Forbidden is returned when a user requests a media or web page that the server does not allow them to....

2 months ago | 0

Answered

How to define a continuous range?

If you can provide the time it is taking to plot the graph by using tic and toc, it will be helpful. Because it is taking just 3...

How to define a continuous range?

If you can provide the time it is taking to plot the graph by using tic and toc, it will be helpful. Because it is taking just 3...

2 months ago | 0

Answered

Month function - License checkout failed

“month” function is present in both MATLAB and Financial toolbox. Distinguishing the datatime method called “month”, from the Fi...

Month function - License checkout failed

“month” function is present in both MATLAB and Financial toolbox. Distinguishing the datatime method called “month”, from the Fi...

2 months ago | 0

Answered

Simulink Hardware Tab Missing

The link you are referring to, is from MATLAB 2019b documentation. It’s because when you search for MATLAB documentation, by def...

Simulink Hardware Tab Missing

The link you are referring to, is from MATLAB 2019b documentation. It’s because when you search for MATLAB documentation, by def...

2 months ago | 0

| accepted

Answered

Kalman filter accelerometer, gyroscope and magnetometer

Hi, From my understanding, you are trying to extract data from the .txt files and use the data to design Kalman filter You can...

Kalman filter accelerometer, gyroscope and magnetometer

Hi, From my understanding, you are trying to extract data from the .txt files and use the data to design Kalman filter You can...

2 months ago | 0

Answered

when I run my simulink model the error found is "Domain error. To compte complex results from real x, use 'log(complex(x))'." im having a function block in my model. my license no is 1119172

I am assuming that you are providing a negative value as input to log function in your code. If you supply a value less than zer...

when I run my simulink model the error found is "Domain error. To compte complex results from real x, use 'log(complex(x))'." im having a function block in my model. my license no is 1119172

I am assuming that you are providing a negative value as input to log function in your code. If you supply a value less than zer...

2 months ago | 0

Answered

ButtonDownFcn on children of UIFigure

From my understanding, you are trying to add a callback for ButtonDownFcnof the UIFigure to trigger the callback, when clicking ...

ButtonDownFcn on children of UIFigure

From my understanding, you are trying to add a callback for ButtonDownFcnof the UIFigure to trigger the callback, when clicking ...

2 months ago | 0

| accepted

Answered

GPU coder can't have huge matrix as output?

You can find answer to a similar question here

GPU coder can't have huge matrix as output?

You can find answer to a similar question here

2 months ago | 0

Answered

ctrb function and syms error

Controllability matrix for a system is given by Where A is nxn constant matrix and B is n by m constant matrix. The error occu...

ctrb function and syms error

Controllability matrix for a system is given by Where A is nxn constant matrix and B is n by m constant matrix. The error occu...

2 months ago | 0

Answered

vision.Videoplayer in app

You can add a ButtonPushedFcn callback for button and add your code for viewing video from a USB camera For your reference, Yo...

vision.Videoplayer in app

You can add a ButtonPushedFcn callback for button and add your code for viewing video from a USB camera For your reference, Yo...

2 months ago | 0

Answered

Filling pie graph partitions without the Pie command

You can make you of following code function pie_chart % Define quadrants and color r1 = 1; ...

Filling pie graph partitions without the Pie command

You can make you of following code function pie_chart % Define quadrants and color r1 = 1; ...

2 months ago | 0

Answered

Arduino with 2019b connection issues

Try setting the variable arduinoio.IDERoot to an address which the user has access to write and read For Example: arduinoio.I...

Arduino with 2019b connection issues

Try setting the variable arduinoio.IDERoot to an address which the user has access to write and read For Example: arduinoio.I...

2 months ago | 0

Answered

using 2 variables in one for loop

for loop executes a group of statements in a loop for a specified number of times with a single index. In my understanding, you ...

using 2 variables in one for loop

for loop executes a group of statements in a loop for a specified number of times with a single index. In my understanding, you ...

2 months ago | 0

Answered

Error while calling place()

From my understanding, 'place' function is not supported for code generation. Not all built-in functions are supported for code ...

Error while calling place()

From my understanding, 'place' function is not supported for code generation. Not all built-in functions are supported for code ...

2 months ago | 0