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

más de 3 años hace | 0

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

más de 3 años hace | 0

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

más de 3 años hace | 1

| aceptada

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

más de 3 años hace | 0

| aceptada

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

más de 3 años hace | 0

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

más de 3 años hace | 0

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

más de 3 años hace | 0

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

más de 3 años hace | 0

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

más de 3 años hace | 0

| aceptada

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

más de 3 años hace | 0

| aceptada

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

más de 3 años hace | 0

| aceptada

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

más de 3 años hace | 0

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

más de 3 años hace | 0

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

más de 3 años hace | 1

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

más de 3 años hace | 0

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

más de 3 años hace | 1

| aceptada

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

más de 3 años hace | 0

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

más de 3 años hace | 0

| aceptada

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

más de 3 años hace | 0

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

más de 3 años hace | 0

| aceptada

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

más de 3 años hace | 1

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

más de 3 años hace | 0

Respondida
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

más de 3 años hace | 0

| aceptada

Respondida
Simulink on Ramp Task 2
Seems OK from here, just click submit button .

más de 3 años hace | 1

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

más de 3 años hace | 0

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

más de 3 años hace | 0

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

más de 3 años hace | 0

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

más de 3 años hace | 1

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

más de 3 años hace | 0

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

más de 3 años hace | 0

Cargar más