Answered
Is it possible to convert the whole Simulink model into a state space one?
Hi Dingyu, You first have to create the input vector(s) to your model and collect the simulation results or output vector(s). ...

6 years ago | 0

Answered
how can I design a controller for a plant that cannot be linearized
Hi Ali, Even if the dynamics equations are fine, some nonlinear systems are difficult or impossible to linearize. A possible wa...

6 years ago | 0

Answered
Configurate PID in simulink
Hi Zakaria, It is not clear to understand the result of the screenshot uploaded. it can be that the first output is the result ...

6 years ago | 0

Answered
Why model compilation takes more time for first compilation than subsequent?
Hi Jithu, The slprj folder contains information about workspace variables and build artifacts. If your Simulink model includes ...

6 years ago | 0

Answered
Can't plot Simlog
Hi Emre, Where exactly did you put this 4 lines of code? I guess it is a separate script that calls the model and the the plott...

6 years ago | 0

Answered
Requirements option not selectable
Hi Neil, Try first to go into the Word document, select the requirement summary you want to link to your model. Then, go to the...

6 years ago | 0

Answered
How to model in matlab and simulink
Hi Jesus, One way is to describe the system is using differential equation. Classical text book of dynamic systems can guide yo...

6 years ago | 1

Answered
Variant control variable initialization
Hi Cheyenne, Try to use the PreLoadFcn callback, which is executed before the model is loaded. The variable will be in the work...

6 years ago | 0

Answered
Can I generate a protected model with a different name to the base model
Hi Rohan, A possible way is first to create variant models, https://se.mathworks.com/help/simulink/slref/variantsubsystemvarian...

6 years ago | 0

Answered
Exponential terms in numerator and denominator in a Transfer Function
Hi Jacob, First please check that the transfer function is linear and time invariant. Most likely is not linear. For a system t...

6 years ago | 0

Answered
How do I download an older release of MATLAB as trial?
Hi Meinsen, Go to the following link https://se.mathworks.com/campaigns/products/trials.html where you can send a request fo...

6 years ago | 0

Answered
Plot ratio of 2 timeseries data on MATLAB
Hi Syed, If you want to divide two vectors, use ./ command instead of / command. This will do the division element-by-element....

6 years ago | 0

Answered
Simulink data inspector not opening
Hi Junaid, First, do right-click the selected signals you want to plot, and select Log Selected Signals from the context menu. ...

6 years ago | 0

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

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

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

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

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

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

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

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

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

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

6 years ago | 1 | 54 solvers

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

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

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

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

6 years ago | 1

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

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

6 years ago | 0

| accepted

Answered
error opening simulink via Matlab
Hi Elinor, Have you tried to just type simulink in the MATLAB command window?

6 years ago | 0

| accepted

Load more