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

etwa 6 Jahre vor | 0

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

etwa 6 Jahre vor | 0

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

etwa 6 Jahre vor | 0

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

etwa 6 Jahre vor | 0

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

etwa 6 Jahre vor | 0

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

etwa 6 Jahre vor | 0

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

etwa 6 Jahre vor | 1

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

etwa 6 Jahre vor | 0

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

etwa 6 Jahre vor | 0

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

etwa 6 Jahre vor | 0

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

etwa 6 Jahre vor | 0

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

etwa 6 Jahre vor | 0

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

etwa 6 Jahre vor | 0

Beantwortet
List of all Conditional Subsystem
Hi galaxi, In the following link you can find the definition and examples about the conditionally executed subsystems: https:/...

mehr als 6 Jahre vor | 0

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

mehr als 6 Jahre vor | 0

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

mehr als 6 Jahre vor | 1

| akzeptiert

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

mehr als 6 Jahre vor | 0

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

mehr als 6 Jahre vor | 0

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

mehr als 6 Jahre vor | 0

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

mehr als 6 Jahre vor | 0

Gelöst


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

mehr als 6 Jahre vor

Gelöst


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

mehr als 6 Jahre vor

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

mehr als 6 Jahre vor | 1 | 58 Lösungsvorschläge

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

mehr als 6 Jahre vor | 1

| akzeptiert

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

mehr als 6 Jahre vor | 0

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

mehr als 6 Jahre vor | 0

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

mehr als 6 Jahre vor | 1

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

mehr als 6 Jahre vor | 0

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

mehr als 6 Jahre vor | 0

| akzeptiert

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

mehr als 6 Jahre vor | 0

| akzeptiert

Mehr laden