Answered

TCP communication in real time simulink

HI Rajashree, There is a TCP Send block in the Simulink Real-Time library, which you should use for sending data from a Target ...

TCP communication in real time simulink

HI Rajashree, There is a TCP Send block in the Simulink Real-Time library, which you should use for sending data from a Target ...

6 years ago | 1

| accepted

Answered

How do I import 3D-CAD-Sketches into MATLAB

Hi Tobias, There's a file exchange submission, which might be worth looking into. It allows you to import "raw" data into MAT...

How do I import 3D-CAD-Sketches into MATLAB

Hi Tobias, There's a file exchange submission, which might be worth looking into. It allows you to import "raw" data into MAT...

6 years ago | 0

Answered

What is the different between int_T in matlab S-function or mexfunction and int_t in C?

int_T, real_T (upper case T) are data types used by MATLAB and Simulink and are defined in shipped file "tmwtypes.h". They prove...

What is the different between int_T in matlab S-function or mexfunction and int_t in C?

int_T, real_T (upper case T) are data types used by MATLAB and Simulink and are defined in shipped file "tmwtypes.h". They prove...

6 years ago | 0

| accepted

Answered

Revolute robot arm by a certain angle (degrees)

Hi, I am assuming that you are looking to specify initial state positions for the revolute joint. This can be done in the "St...

Revolute robot arm by a certain angle (degrees)

Hi, I am assuming that you are looking to specify initial state positions for the revolute joint. This can be done in the "St...

6 years ago | 0

Answered

Arduino and Simulink not working together over serial

Hi Michael, Have you tried sending data using Serial.write()? Also, check out the Serial Receive block from the Support P...

Arduino and Simulink not working together over serial

Hi Michael, Have you tried sending data using Serial.write()? Also, check out the Serial Receive block from the Support P...

6 years ago | 0

Answered

Plotting ROC for fitcecoc svm classifier

Hi Roohollah, The reason you are getting this error because you defined the positive class to be "true" in the perfcurve func...

Plotting ROC for fitcecoc svm classifier

Hi Roohollah, The reason you are getting this error because you defined the positive class to be "true" in the perfcurve func...

6 years ago | 1

| accepted

Answered

Set programmatically a Data Cursor in an Axes represenation in a GUI

Hi Ismael, You can use the following method to create a data tip in another figure and set it's position from the getCursorIn...

Set programmatically a Data Cursor in an Axes represenation in a GUI

Hi Ismael, You can use the following method to create a data tip in another figure and set it's position from the getCursorIn...

6 years ago | 3

Answered

Simulink gas Turbine model

Hi Pradeep, You mentioned that "My Professor wants to see the Simulink Model in such a way that when he clicks on each Simuli...

Simulink gas Turbine model

Hi Pradeep, You mentioned that "My Professor wants to see the Simulink Model in such a way that when he clicks on each Simuli...

6 years ago | 0

Answered

Can Matlab System Object class inherit from a "regular" class? Anyone has an example?

Hi Ibra, You should be able to inherit from a different class. I am attaching a small example here to demonstrate this. A...

Can Matlab System Object class inherit from a "regular" class? Anyone has an example?

Hi Ibra, You should be able to inherit from a different class. I am attaching a small example here to demonstrate this. A...

6 years ago | 0

Answered

shield motor adafruit V2 and I2C communication?

Hi Gerard, You can refer to the following demo: <https://www.mathworks.com/help/supportpkg/arduinoio/ug/control-motors-usi...

shield motor adafruit V2 and I2C communication?

Hi Gerard, You can refer to the following demo: <https://www.mathworks.com/help/supportpkg/arduinoio/ug/control-motors-usi...

6 years ago | 0

Answered

Real time simulink build error

Hi Rajashree, This issue can occur if your machine does not have appropriate permissions to edit the registry. The Microsoft...

Real time simulink build error

Hi Rajashree, This issue can occur if your machine does not have appropriate permissions to edit the registry. The Microsoft...

6 years ago | 1

Answered

Camera position in the 3-D Point Cloud Registration and Stitching example

Hi Christopher, I believe with respect to each point cloud, the camera is located at the origin. Hence, to show the camera po...

Camera position in the 3-D Point Cloud Registration and Stitching example

Hi Christopher, I believe with respect to each point cloud, the camera is located at the origin. Hence, to show the camera po...

6 years ago | 0

Answered

I am using the patch function and I am trying to set a FaceColor in 2017a and nothing is working. Does anyone have any suggestions?

Hi Rashida, The reason you are seeing this behavior is because MATLAB could not create a face given vertices coordinates as "...

I am using the patch function and I am trying to set a FaceColor in 2017a and nothing is working. Does anyone have any suggestions?

Hi Rashida, The reason you are seeing this behavior is because MATLAB could not create a face given vertices coordinates as "...

6 years ago | 0

| accepted

Answered

Create a function to calculate error, approximation, exact, etc.

Hi, You can refer to the "taylor" function in Symbolic Math Toolbox. <https://www.mathworks.com/help/symbolic/taylor.html>...

Create a function to calculate error, approximation, exact, etc.

Hi, You can refer to the "taylor" function in Symbolic Math Toolbox. <https://www.mathworks.com/help/symbolic/taylor.html>...

6 years ago | 0

Answered

Data Acquisition board supported by simulink real time desktop?

Hi Sid, The documentation links you referred belong to two different products i.e. Simulink Desktop Real Time and Simulink Re...

Data Acquisition board supported by simulink real time desktop?

Hi Sid, The documentation links you referred belong to two different products i.e. Simulink Desktop Real Time and Simulink Re...

6 years ago | 1

Answered

Does it exist function for a Simulink model related to time (more or less like 'now') ?

Hi Damiano, If you would like to use the "now" functionality in Simulink for simulation purposes, please refer to the followi...

Does it exist function for a Simulink model related to time (more or less like 'now') ?

Hi Damiano, If you would like to use the "now" functionality in Simulink for simulation purposes, please refer to the followi...

6 years ago | 0

Answered

Generating code in the signal analyzer

Hi Barry, The ability to generate MATLAB scripts from Signal Analyzer app is added in R2017b (See the release notes link belo...

Generating code in the signal analyzer

Hi Barry, The ability to generate MATLAB scripts from Signal Analyzer app is added in R2017b (See the release notes link belo...

6 years ago | 1

| accepted

Answered

Retrieve Elevation Data from Web Map Server is not working

Hi Olga, I believe the NASA server has changed recently which is causing this issue. To workaround this, you can try and use ...

Retrieve Elevation Data from Web Map Server is not working

Hi Olga, I believe the NASA server has changed recently which is causing this issue. To workaround this, you can try and use ...

6 years ago | 0

| accepted

Answered

How can I find a good initial guess for Levenberg-Marquardt algorithm?

Hi Ale, I don't believe there is a "correct" answer for finding the initial guess for an optimization problem. It depends on ...

How can I find a good initial guess for Levenberg-Marquardt algorithm?

Hi Ale, I don't believe there is a "correct" answer for finding the initial guess for an optimization problem. It depends on ...

6 years ago | 0

| accepted

Answered

Use of hgtransform with axesm / mapping toolbox

Hi Chris, That lat and lon variables in your code span from [0 30] and [0 20] respectively, as opposed to the actual limits s...

Use of hgtransform with axesm / mapping toolbox

Hi Chris, That lat and lon variables in your code span from [0 30] and [0 20] respectively, as opposed to the actual limits s...

6 years ago | 0

Answered

How to create a multivariate gaussian mixture model??

Hi Akshara, The <https://www.mathworks.com/help/stats/gmdistribution.html#examples gmdistribution> function supports multivar...

How to create a multivariate gaussian mixture model??

Hi Akshara, The <https://www.mathworks.com/help/stats/gmdistribution.html#examples gmdistribution> function supports multivar...

6 years ago | 0

Answered

How to arrange data for time series classification learning

Hi Malte, I believe you will need to pre-process the time series data to extract features for the classification learner. Som...

How to arrange data for time series classification learning

Hi Malte, I believe you will need to pre-process the time series data to extract features for the classification learner. Som...

6 years ago | 0

Answered

Invalid MEX-file error, undefined symbol...

Hi Corey, You should check with the author regarding compatibility with Ubuntu 16.04 and MATLAB R2014a. Mex files are not sup...

Invalid MEX-file error, undefined symbol...

Hi Corey, You should check with the author regarding compatibility with Ubuntu 16.04 and MATLAB R2014a. Mex files are not sup...

6 years ago | 0

| accepted

Answered

Bio-Formats importer and fluorescent video

Hi Douglas, Have you tried using one of the following? <https://www.mathworks.com/help/images/ref/implay.html> <https:/...

Bio-Formats importer and fluorescent video

Hi Douglas, Have you tried using one of the following? <https://www.mathworks.com/help/images/ref/implay.html> <https:/...

6 years ago | 0

Answered

I'm looking for some help in reading a TCX file so that I can null increasing elevation data.

Hi Robin, You can try and use the MATLAB import tool using the "Import Data" button in the Home tab. You can customize the im...

I'm looking for some help in reading a TCX file so that I can null increasing elevation data.

Hi Robin, You can try and use the MATLAB import tool using the "Import Data" button in the Home tab. You can customize the im...

6 years ago | 0

Answered

fzero system of non linear equations

Hi Bastian, Which part of the for loop is more expensive? Have you tried profiling the yfun function? I believe it takes a st...

fzero system of non linear equations

Hi Bastian, Which part of the for loop is more expensive? Have you tried profiling the yfun function? I believe it takes a st...

6 years ago | 0

Answered

How to connect 2 different air stream in simscape pneumatic

Hi Xavier, I don't believe there's a capability to mix two gases. You can calculate the approximate properties manually and ...

How to connect 2 different air stream in simscape pneumatic

Hi Xavier, I don't believe there's a capability to mix two gases. You can calculate the approximate properties manually and ...

6 years ago | 0

Answered

I am trying to use the spectrum analyzer in Simulink to study a distorted signal. However, every time i change the discretization time of the powergui block, it gives me different (a huge difference) results. So how do I choose the sampling time?

Hi Danny, The sampling time for spectrum analysis should ideally be same as the sampling time of the actual signal to be anal...

I am trying to use the spectrum analyzer in Simulink to study a distorted signal. However, every time i change the discretization time of the powergui block, it gives me different (a huge difference) results. So how do I choose the sampling time?

Hi Danny, The sampling time for spectrum analysis should ideally be same as the sampling time of the actual signal to be anal...

6 years ago | 0

| accepted

Answered

Greybox nonlniear estimation model

Hi Imisi, If you already know the dependence of OCV on time, you can definitely pass it as a parameter. However, as time is a...

Greybox nonlniear estimation model

Hi Imisi, If you already know the dependence of OCV on time, you can definitely pass it as a parameter. However, as time is a...

6 years ago | 1

| accepted

Answered

greybox linear model error

Hi Imisi, In your code below function [A,B,C,D] = batteryeq_lin(T1,T2,C1,C2,Cnom,R0,Ts) A=[-1/T1 0 0;0 -1/T2 0;0 0 0]; %...

greybox linear model error

Hi Imisi, In your code below function [A,B,C,D] = batteryeq_lin(T1,T2,C1,C2,Cnom,R0,Ts) A=[-1/T1 0 0;0 -1/T2 0;0 0 0]; %...

6 years ago | 1

| accepted