Answered

How do I use a discrete-time state-space model inside simulink?

If you want to implement a discrete-time state-space model in Simulink, you can use the 'Discrete State-Space' block. The follow...

How do I use a discrete-time state-space model inside simulink?

If you want to implement a discrete-time state-space model in Simulink, you can use the 'Discrete State-Space' block. The follow...

ungefär 5 år ago | 0

Answered

Hi i am trying to detect 10% delta rise of accelerator pedal. could you please suggest me which block of simulink should i use.

There are many ways to accomplish this in Simulink depending on how you are modeling the system. The 'Difference' block may be u...

Hi i am trying to detect 10% delta rise of accelerator pedal. could you please suggest me which block of simulink should i use.

There are many ways to accomplish this in Simulink depending on how you are modeling the system. The 'Difference' block may be u...

ungefär 5 år ago | 0

Answered

Installing MATLAB2017b on MacOS 10.9

According to the platform roadmap, MATLAB R2017b is not supported for macOS Mavericks (10.9). macOS El Capitan (10.11) is the ol...

Installing MATLAB2017b on MacOS 10.9

According to the platform roadmap, MATLAB R2017b is not supported for macOS Mavericks (10.9). macOS El Capitan (10.11) is the ol...

ungefär 5 år ago | 1

| accepted

Answered

where can i see task overruns while running a simulink model on raspberry pi

You can detect task overruns for a Simulink model running on a Raspberry Pi by enabling 'Enable overrun detection' in the model'...

where can i see task overruns while running a simulink model on raspberry pi

You can detect task overruns for a Simulink model running on a Raspberry Pi by enabling 'Enable overrun detection' in the model'...

ungefär 5 år ago | 0

Answered

How to use the .traineddata file with the ocr function after training?

You can use the path to the trained data file as part of the 'Language' name-value pair. One thing to note is that the trained d...

How to use the .traineddata file with the ocr function after training?

You can use the path to the trained data file as part of the 'Language' name-value pair. One thing to note is that the trained d...

ungefär 5 år ago | 0

| accepted

Answered

How to run a python code on simulink?

You could try using a MATLAB function block that contains MATLAB code to call the Python code. This documentation link provi...

How to run a python code on simulink?

You could try using a MATLAB function block that contains MATLAB code to call the Python code. This documentation link provi...

ungefär 5 år ago | 4

| accepted

Answered

How to set the local IP address of real-time SLRT UDP blocks (R2017b) as a variable from the base workspace?

You can set the IP address of a UDP block with a workspace variable by: # Creating the variable in the MATLAB workspace # ...

How to set the local IP address of real-time SLRT UDP blocks (R2017b) as a variable from the base workspace?

You can set the IP address of a UDP block with a workspace variable by: # Creating the variable in the MATLAB workspace # ...

ungefär 5 år ago | 1

Answered

Question regarding simulink 3D animation 747 plane

You can find the path to the 747 model with this MATLAB command: >> fullfile(matlabroot, 'toolbox\sl3d\library\objects\C...

Question regarding simulink 3D animation 747 plane

You can find the path to the 747 model with this MATLAB command: >> fullfile(matlabroot, 'toolbox\sl3d\library\objects\C...

ungefär 5 år ago | 0

Answered

How to take a snapshot from webcam using Simulink

There is another MATLAB Answers thread that could be helpful for this application: <https://www.mathworks.com/matlabcentral/an...

How to take a snapshot from webcam using Simulink

There is another MATLAB Answers thread that could be helpful for this application: <https://www.mathworks.com/matlabcentral/an...

ungefär 5 år ago | 0

Answered

Drawing arbitrary connections between blocks (no Simscape)

Is there a specific reason why the block that you want to connect all of the outputs to can't be replicated in the model? For ex...

Drawing arbitrary connections between blocks (no Simscape)

Is there a specific reason why the block that you want to connect all of the outputs to can't be replicated in the model? For ex...

ungefär 5 år ago | 0

Answered

Programmatic Simulink Running in For Loop

The reason that the lines do not match with the legend key is because of the order of the code within the loop. To address th...

Programmatic Simulink Running in For Loop

The reason that the lines do not match with the legend key is because of the order of the code within the loop. To address th...

ungefär 5 år ago | 0

| accepted

Answered

I have an ARMAX model on my matlab workspace, how do i represent it in simulink to perform simulations?

The 'Recursive Polynomial Model Estimator' block in Simulink can be used to represent ARMAX models. The following documentat...

I have an ARMAX model on my matlab workspace, how do i represent it in simulink to perform simulations?

The 'Recursive Polynomial Model Estimator' block in Simulink can be used to represent ARMAX models. The following documentat...

ungefär 5 år ago | 0

Answered

Does simulink scale ill-conditioned matrices provided to State-Space block?

The 'State-Space' block in Simulink does not perform automatic scaling for matrices that are entered as parameters. However,...

Does simulink scale ill-conditioned matrices provided to State-Space block?

The 'State-Space' block in Simulink does not perform automatic scaling for matrices that are entered as parameters. However,...

ungefär 5 år ago | 0

| accepted

Answered

How to obtain modal parameters from FRF

You could use the frequency response data to estimate the model for the system. With that estimate, you could determine the para...

How to obtain modal parameters from FRF

You could use the frequency response data to estimate the model for the system. With that estimate, you could determine the para...

ungefär 5 år ago | 0

| accepted

Answered

How to use Simulink and Arduino (Real Time Communication)

Just to clarify, the Simulink Support Package for Arduino does not generate real-time code. Generally, external mode can be ...

How to use Simulink and Arduino (Real Time Communication)

Just to clarify, the Simulink Support Package for Arduino does not generate real-time code. Generally, external mode can be ...

ungefär 5 år ago | 0

Answered

400KHz I2C with Aardvark

This seems to be related to a bug that was fixed in MATLAB R2017a. There is an external bug report published for this issue ...

400KHz I2C with Aardvark

This seems to be related to a bug that was fixed in MATLAB R2017a. There is an external bug report published for this issue ...

ungefär 5 år ago | 0

Answered

How to define variable size parameter in s-function

Something to look into would be run-time parameters. The following documentation page provides useful information regarding how ...

How to define variable size parameter in s-function

Something to look into would be run-time parameters. The following documentation page provides useful information regarding how ...

ungefär 5 år ago | 0

Answered

Why can I not tune parameters in external mode in simulink with my arduino uno?

You may not have been able to observe significant changes when you tuned the PID parameters if the output of the system reached ...

Why can I not tune parameters in external mode in simulink with my arduino uno?

You may not have been able to observe significant changes when you tuned the PID parameters if the output of the system reached ...

ungefär 5 år ago | 0

Answered

How to import a 3D CAD on simulink , if I am using Apple Macbook ?

To export a CAD assembly from SolidWorks to Simscape Multibody (formerly SimMechanics), you can use Simscape Multibody Link. ...

How to import a 3D CAD on simulink , if I am using Apple Macbook ?

To export a CAD assembly from SolidWorks to Simscape Multibody (formerly SimMechanics), you can use Simscape Multibody Link. ...

ungefär 5 år ago | 0

| accepted

Answered

Pressure Booster Single Acting Model

Without knowing more about the system, it would be difficult to provide much advice on the implementation of the Simscape model....

Pressure Booster Single Acting Model

Without knowing more about the system, it would be difficult to provide much advice on the implementation of the Simscape model....

ungefär 5 år ago | 0

| accepted

Answered

bode plot from experiment data

Assuming you have the input data and output data in the MATLAB workspace as vectors, you could use the 'tfestimate' function to ...

bode plot from experiment data

Assuming you have the input data and output data in the MATLAB workspace as vectors, you could use the 'tfestimate' function to ...

ungefär 5 år ago | 0

Answered

How to create report programmatically ?

'slreportgen.report.Report' was not introduced until MATLAB R2017b according to the following documentation page: <http://ww...

How to create report programmatically ?

'slreportgen.report.Report' was not introduced until MATLAB R2017b according to the following documentation page: <http://ww...

ungefär 5 år ago | 0

| accepted

Answered

Simple linear phase bandpass filter design

It may be helpful to use the Filter Designer app for this. You could input your filter specifications, generate the filter's res...

Simple linear phase bandpass filter design

It may be helpful to use the Filter Designer app for this. You could input your filter specifications, generate the filter's res...

ungefär 5 år ago | 0

| accepted

Answered

Convert a date into seconds from a string from a block "constant"

The error that is being generated is due to the following line of code: sscanf(date,'%d.%d'); The 'date' variable comes ...

Convert a date into seconds from a string from a block "constant"

The error that is being generated is due to the following line of code: sscanf(date,'%d.%d'); The 'date' variable comes ...

ungefär 5 år ago | 0

| accepted

Answered

How to solve a system of equations in Simulink?

It would be difficult to determine the root cause of the issue without knowing the architecture of your Simulink model. Howe...

How to solve a system of equations in Simulink?

It would be difficult to determine the root cause of the issue without knowing the architecture of your Simulink model. Howe...

mer än 5 år ago | 0

Answered

How can I modify options of the command power_fftscope?

Once you have the desired signal in the base workspace, you can run the FFT analysis once using: >> FFTDATA = power_fftscop...

How can I modify options of the command power_fftscope?

Once you have the desired signal in the base workspace, you can run the FFT analysis once using: >> FFTDATA = power_fftscop...

mer än 5 år ago | 3

Answered

For the Training Image Labeler, can you include images without the structure-of-interest to improve the RCNN training?

You could provide more images without the structure of interest to the Training Image Labeler but there is no guarantee that it ...

For the Training Image Labeler, can you include images without the structure-of-interest to improve the RCNN training?

You could provide more images without the structure of interest to the Training Image Labeler but there is no guarantee that it ...

mer än 5 år ago | 0