Answered

List of all Conditional Subsystem

Hi galaxi, In the following link you can find the definition and examples about the conditionally executed subsystems: https:/...

List of all Conditional Subsystem

Hi galaxi, In the following link you can find the definition and examples about the conditionally executed subsystems: https:/...

5 days ago | 0

Answered

Is there any way to connect a dashboard block with a constant block by command ?

Hi Abhijit, You can find the step to connect dashboards block in the link below fomr the documentation: https://www.mathworks....

Is there any way to connect a dashboard block with a constant block by command ?

Hi Abhijit, You can find the step to connect dashboards block in the link below fomr the documentation: https://www.mathworks....

5 days ago | 0

Answered

What does "Minimize algebraic loop occurrences" actually do?

Hi Miles, This parameter directs Simulink to try to eliminate the algebraic loop that contains an atomic subsystem, when it sim...

What does "Minimize algebraic loop occurrences" actually do?

Hi Miles, This parameter directs Simulink to try to eliminate the algebraic loop that contains an atomic subsystem, when it sim...

5 days ago | 1

| accepted

Answered

differential equations with Simulink

Hi bl276, Since those are differential equations, you can implement them in Simulink by using Integrator blocks. You have four ...

differential equations with Simulink

Hi bl276, Since those are differential equations, you can implement them in Simulink by using Integrator blocks. You have four ...

6 days ago | 0

Answered

XY graph and Plot graph are differnet

Hi Minjae, That is not possible. Make sure you select the same data in both cases. Try to plot each variable in a separate plot...

XY graph and Plot graph are differnet

Hi Minjae, That is not possible. Make sure you select the same data in both cases. Try to plot each variable in a separate plot...

11 days ago | 0

Answered

Port width and dimension error

Hi David, First try to connect al those pending signals and rerun the model. This is to be sure that the MATLAB function block ...

Port width and dimension error

Hi David, First try to connect al those pending signals and rerun the model. This is to be sure that the MATLAB function block ...

11 days ago | 0

Answered

Configure the parameters as arguments of the step function

Hi Rodrigo, When the step function looks like: extern void MODEL_step(MODEL_T *const MODEL_M, Input_Type *arg_In,Output_Type ...

Configure the parameters as arguments of the step function

Hi Rodrigo, When the step function looks like: extern void MODEL_step(MODEL_T *const MODEL_M, Input_Type *arg_In,Output_Type ...

12 days ago | 0

Solved

Calculate Euler's phi function

Compute the Euler's phi function of a large integer. For more information about this topic please visit: <https://en.wikiped...

12 days ago

Solved

Times 2 - START HERE

Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

13 days ago

Problem

Alternate list of elements

Write a function that combines two lists by alternating the elements, e.g. ['a','b','c'], ['1','2','3'] → 'a1b2c3'.

13 days ago | 0

Answered

System Identification Loss Function

Hi Aladin, You haven't mentioned it but I guess you have been fitting your models with Suspace method (n4sid). If so, that is a...

System Identification Loss Function

Hi Aladin, You haven't mentioned it but I guess you have been fitting your models with Suspace method (n4sid). If so, that is a...

18 days ago | 1

| accepted

Answered

How can I add a block to a Simulink model in the center of the model view?

Hi S. Boopalam, Once you hav place the vlock using the command add_block, you can change the position of the block using the co...

How can I add a block to a Simulink model in the center of the model view?

Hi S. Boopalam, Once you hav place the vlock using the command add_block, you can change the position of the block using the co...

20 days ago | 0

Answered

How Do I connect Dashboard block to a constant block using command line.

Hi Pratik, You can find the step to connect dashboards block in the link below fomr the documentation: https://www.mathworks.c...

How Do I connect Dashboard block to a constant block using command line.

Hi Pratik, You can find the step to connect dashboards block in the link below fomr the documentation: https://www.mathworks.c...

1 month ago | 0

Answered

Simulink PID Tuner does not work

Hi Christoph, Even if the dynamics equations are fine, some nonlinear systems are difficult or impossible to linearize. A possi...

Simulink PID Tuner does not work

Hi Christoph, Even if the dynamics equations are fine, some nonlinear systems are difficult or impossible to linearize. A possi...

2 months ago | 0

Answered

How to rename bus objects in the model explorer?

Hi Guilherme, I'm not sure if I understood your question, but here I give you some hints of possible workflow to check: When y...

How to rename bus objects in the model explorer?

Hi Guilherme, I'm not sure if I understood your question, but here I give you some hints of possible workflow to check: When y...

2 months ago | 0

Answered

plant cannot be linearized for PID tune

Hi Minjae, Even if the dynamics equations are fine, some nonlinear systems are difficult or impossible to linearize. A possible...

plant cannot be linearized for PID tune

Hi Minjae, Even if the dynamics equations are fine, some nonlinear systems are difficult or impossible to linearize. A possible...

2 months ago | 0

| accepted

Answered

error opening simulink via Matlab

Hi Elinor, Have you tried to just type simulink in the MATLAB command window?

error opening simulink via Matlab

Hi Elinor, Have you tried to just type simulink in the MATLAB command window?

2 months ago | 0

| accepted

Answered

How to convert Block parameter to input port?

Hi Rahul, In general you could try to work with a MATLAB funcion block in the following way: where the MATLAB function has t...

How to convert Block parameter to input port?

Hi Rahul, In general you could try to work with a MATLAB funcion block in the following way: where the MATLAB function has t...

2 months ago | 0

Answered

Regarding Transfer function blcok

Hi Nagasai, When you can say logic, it refers to include types of blocks such as AND / OR / NOT etc instead of your trasnfer fu...

Regarding Transfer function blcok

Hi Nagasai, When you can say logic, it refers to include types of blocks such as AND / OR / NOT etc instead of your trasnfer fu...

2 months ago | 0

| accepted

Answered

How to convert Block parameter to input port?

Hi Rahul, One possible simple solution would be to keep the Sine wave amplitud equal to 1, and then add the following to the bl...

How to convert Block parameter to input port?

Hi Rahul, One possible simple solution would be to keep the Sine wave amplitud equal to 1, and then add the following to the bl...

2 months ago | 0

Answered

Regarding Transfer function blcok

Hi Nagasai, A transfer function relates the process output ith its input, usually written in frequency domain, where the analys...

Regarding Transfer function blcok

Hi Nagasai, A transfer function relates the process output ith its input, usually written in frequency domain, where the analys...

2 months ago | 0

Answered

Solver and logging settings

Hi Siddhanta, If you want to simulate your model with a variable step solver and the model has a part that should work with a f...

Solver and logging settings

Hi Siddhanta, If you want to simulate your model with a variable step solver and the model has a part that should work with a f...

3 months ago | 0

Answered

Moving average filter cut-off frequency

Hi Mir Khadim, The cutoff frequency is defined as the frequency where the power gain is a half, also called as the −3 dB-point,...

Moving average filter cut-off frequency

Hi Mir Khadim, The cutoff frequency is defined as the frequency where the power gain is a half, also called as the −3 dB-point,...

3 months ago | 0

| accepted

Answered

Simulink model 'to workspace' output

Hi Mohsina, I see T_u matrix is loaded in you model using the From Workspace block. In this case each row of the matrix has tim...

Simulink model 'to workspace' output

Hi Mohsina, I see T_u matrix is loaded in you model using the From Workspace block. In this case each row of the matrix has tim...

3 months ago | 0

Answered

How to import a transfer function from workspace into simulink?

Hi Azam, One possible solution is: Create a transfer function in the workscape: for example, type in the command window F = t...

How to import a transfer function from workspace into simulink?

Hi Azam, One possible solution is: Create a transfer function in the workscape: for example, type in the command window F = t...

4 months ago | 2

Answered

Algebraic Loop in Simulink, missing datas

Hi, I see you have tried to introduce delays. Since you say it can only be solved in a loop (so it is not possible to solve the...

Algebraic Loop in Simulink, missing datas

Hi, I see you have tried to introduce delays. Since you say it can only be solved in a loop (so it is not possible to solve the...

5 months ago | 0

Answered

Simulink model takes lot of time to save

Hi Barghav, Please find below some recommendations you can find in the MathWorks documentation: Modifying and Simplifying Yo...

Simulink model takes lot of time to save

Hi Barghav, Please find below some recommendations you can find in the MathWorks documentation: Modifying and Simplifying Yo...

5 months ago | 0

Answered

Why model referencing slows down the simulation?

Hi Nicolas, By default, Simulink uses 'normal mode' to simulate a reference model. Normal model means that the model is simulat...

Why model referencing slows down the simulation?

Hi Nicolas, By default, Simulink uses 'normal mode' to simulate a reference model. Normal model means that the model is simulat...

6 months ago | 0

Answered

Solve system of equations give wrong solution

Hi Abdullah, When using vpasolve, try (if possible) to include a good guess of the solution (X0). The X0 is optional, if no val...

Solve system of equations give wrong solution

Hi Abdullah, When using vpasolve, try (if possible) to include a good guess of the solution (X0). The X0 is optional, if no val...

6 months ago | 0

| accepted

Answered

How to change the legend in simulation data inspector?

Hi Udhaya, Here I write you some possible solutions/suggestions to your questions: 1) The Simulink Data Inspector use as lege...

How to change the legend in simulation data inspector?

Hi Udhaya, Here I write you some possible solutions/suggestions to your questions: 1) The Simulink Data Inspector use as lege...

6 months ago | 0