Answered
How can explain the relation between mdlDerivatives output and mdlOutputs in S-function simulink
As described in this documentation link, 'mdlDerivatives' is an optional method that can be used to compute the derivatives for ...

7 years ago | 1

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

7 years ago | 2

| accepted

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

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

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

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

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

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

7 years ago | 0