已回答
Simulink S-Function output ports with scope
If I understood the question, when you say "get the Output in Simulink again" would mean: you would like to save in a vector so ...

4 years 前 | 0

已回答
How to make this loop faster?
Is it possible to enter vectors as arguments in the function Obstaculo and get a vector as result? If so, then you could try rep...

4 years 前 | 0

已回答
how can i get the Parametres of this modele ?
The following links explain the model and where those parameters are defined: This entry contains files accompanying the MATL...

4 years 前 | 1

| 已接受

已回答
How can I solve system of nonlinear hyperbolic equations
Are you using the pdepe command? Solve System of PDEs - MATLAB & Simulink (mathworks.com) If so, would it make sense to defi...

4 years 前 | 0

| 已接受

已回答
exponential growth equation in matlab
It will be difficult to help you by starting from scratch here. I can refer you this implementation of COVID-19 modeling so you ...

4 years 前 | 0

已回答
Error while using array or vector in state chart.
I think fanID should be of size 1, since it is a scalar that will change its value (1 or 2) during the chart execution. By the ...

4 years 前 | 0

已回答
How do I configure enum in matlab?
Not sure about the exact issue you are having, but please have a look at the way to use Enumerations for, in this case, MATLAB F...

4 years 前 | 0

已回答
How can I integrate a function?
You have defined 'f' as a function of x and N, but in the second for-loop and in the function 'integrate' you refer to 'f' with ...

4 years 前 | 0

已回答
Increase number of legend entries in Simulink Scope
Hey, you can have several scopes in the Simulink Model.

4 years 前 | 0

| 已接受

已回答
Saving to PC from Simulink
In the MATLAB home page look at the current folder, and take (copy) the files you created in there and paste them in the desired...

4 years 前 | 0

| 已接受

已回答
Issue with state flow generated code
One of the setting that might affect what you are describing is the setting of "Block reduction" and "Condition input branch exe...

4 years 前 | 0

| 已接受

已回答
How to do this in Simulink?
Hi Avijit, In the command window, set values to the parameters Ka, Ta, Tw. Then, create the transfer functions by writing: s...

4 years 前 | 0

已回答
error on my code?
Hi Fatima, You could try downloading an script from this link https://www.mathworks.com/matlabcentral/fileexchange/17483-routh...

4 years 前 | 0

已回答
why Code generation with model reference initialize port is not working?
Hi Ranganatha and Samir, Please follow the steps discribed in the following link: https://www.mathworks.com/help/releases/R202...

4 years 前 | 1

已回答
SIL/PIL manager using script/program
Hi Gopal, Please visit the following link that shows ways to do the workflow you are looking for: https://www.mathworks.com/h...

4 years 前 | 0

已回答
Plotting graph using scope
With a Scope block (form Library, section Sinks) you get a trend of a variable as function of time. If you use the XY Graph blo...

4 years 前 | 1

| 已接受

已回答
New to Matlab - need help with rearranging equation
Hi Philip, You are right with your approach. I'm afraid there is not explicit solution of this equation for 'q'.

4 years 前 | 0

已回答
Error in my function in my for loop
Try to define the size of T before using it. Also, make sure that the line of code [n,m] = size(X); is giving you the value of...

4 years 前 | 0

| 已接受

已回答
Example of Execution Coverage
Execution coverage is the most basic form of coverage. For each item, execution coverage determines whether the item is executed...

4 years 前 | 0

已回答
Set Simulink default configuration
Hi James, You can specify all model settings to a new model by creating a model template. Please check the following link for ...

4 years 前 | 0

| 已接受

已回答
How to see the freq response of a transfer function ?
Hi Nabil, If that is the screenshot of your implementation, you need to include data source to your model. It seems you want t...

4 years 前 | 1

已回答
what is optimal option when creating test harness to verify mathematical models ?
Not sure what you mean with "verify mathematical models". Please have a look at the foolowing link (and the references therein...

4 years 前 | 0

已回答
Why am I getting **Illegal use of reserved keyword "else"** in the following assessment block?
Try with Else. See some examples here: https://www.mathworks.com/help/sltest/ug/connecting-blocks-for-verify-statements.html

4 years 前 | 0

| 已接受

已回答
Simulink on Ramp Task 2
Seems OK from here, just click submit button .

4 years 前 | 1

已回答
Asking for 'opening the project' when opening any model file (slx)
Hello, Please check if you have a .prj along with folder that are in the project path and contain those models. If you open any...

4 years 前 | 0

已回答
Extremely slow compilation time in referenced model (Simulink)
Try running the top-level model in Accelerator or Rapid Accelerator mode. Here are a few tips when using the Accelerator and R...

4 years 前 | 0

已回答
What is the best book to understand State flow ?
I'd recommend you to start with the MathWorks documentation, which includes a complete information and different examples using ...

4 years 前 | 0

已回答
Moving average in stateflow
Is it mandatory a Stateflow implementation? Otherwise, a simple way is to use a tapped Delay block to delay the incoming signal ...

4 years 前 | 1

已回答
simulink is not opening
Could you please go to MathWorks webpage, click on Support, scroll down and go to Contact Support, so to get help if you are exp...

4 years 前 | 0

已回答
How to create a variable input in Matlab R2020a Simulink?
Hi Pranav, Make sure you copied the equation correctly. Seems that 'a' and 'b' are parameters, and the input is missing. Please...

4 years 前 | 0

加载更多