Answered
Data variants in Simulink Data Dictionary
You can add a Simulink Variant to a Data Dictionary (see picture below). For example, programmatically V_LINEAR_CONTROLLER=S...

6 years ago | 0

Answered
How to calculate the error between the two signs
Could you narrow your question a bit more? What kind of error do you want to calculate? For example: percentage error?, mean sq...

6 years ago | 0

Answered
What does Ki*Ts mean in Discrete PI controller ?
From the documentation about the meaning of Ki*Ts, it indicates that: "You must premultiply the integral gain value by the integ...

6 years ago | 0

Answered
How to vary offset during simulation
Hi Luiz, You can include a slider (fomr the section Dashboard in the Library) in the Simulink model, and link it to the SineWav...

6 years ago | 1

Answered
Simulink model integration methods
Hi Pradeep, The answer to this question will require pages and pages. I recommend you to take a training course called Simulink...

6 years ago | 0

Answered
signal de-bounce in Simulink
The implementation looks OK. Actually, it is the same as the one recommended in the documentation https://www.mathworks.com/hel...

6 years ago | 0

| accepted

Answered
Course "Stateflow Onramp" doesn't load
Hi, The steps to follow depend on the relase, please check the 'How to Get Started' in this link: https://www.mathworks.com/le...

6 years ago | 0

Answered
Is Simulink Verification and Validation necessary to link and edit Requirements to my Stateflow model?
Simulink Requirements™ license should be sufficient. See: https://www.mathworks.com/help/simulink/ug/viewing-linked-requirement...

6 years ago | 0

Answered
creating baselines in simulink test
Use 'Capture' button if you want to record a baseline from the system under test. It will run the system under test and populate...

6 years ago | 0

Answered
Simulink menu bar on Matlab 2019b
For R2019a you can switch back to the old toolstrip, please see the way here: https://blogs.mathworks.com/simulink/2019/03/25/w...

6 years ago | 0

Question


Generalization of Catalan's conjecture
I would like to have a simple MATLAB code that can give the solutions for the generalization of the Catalan's conjecture for a g...

6 years ago | 1 answer | 0

1

answer

Answered
CANNOT FIND EXPLICIT SOLUTION
Hi Jiyoung, What I see from your code is that there is a variable 'y' which is a vector of 801 elements. Thas makes you to have...

6 years ago | 0

Answered
Error loading .mat
Could you replicate this behavior? I would also like to know the size of this mat-file.

6 years ago | 0

Answered
How to modify step size using my custom Simulink Block
From what I understand, you would like to change the step size of the Solver during time. Step size, as well as other parameters...

6 years ago | 0

Answered
How to solve error of creating harness model
Hi Kenji, The basic steps to create and load a harness programmatical are as follows: model = 'sltestCruiseChart'; load_syste...

6 years ago | 1

Answered
Values won't take from workspace
Not enough information about the problem here. Implementation seems OK. Have you run the model?, got any warning or error mess...

6 years ago | 0

Answered
Simulink block to equation conversion?
I´m afraid there is not such a workflow for that.

6 years ago | 0

Answered
simout block for simulink?
There is not such a block name in the library browser. Could you be more specific in the goal of this block in your model?

6 years ago | 0

Answered
how to link simulink and m file
Hi Amir, Your m-file should at least include the command sim in order to simulate the Simulink model programmatically. Read mor...

6 years ago | 0

Answered
What are the most frequently used Simulink blocks?
Hi Nick, Hard to find out this statistics. Intuition says that common blocks should include inport and outport blocks, Gain, Su...

6 years ago | 0

Answered
ert_main.c not generated
Hi Angelo, The option "Generate an example main program" in Code Generation of Configuration Parameters should be selected, see...

6 years ago | 0

Answered
What is the meaning of first two letters in MAAB guidelines ID?
Hi Manjit, Please read detail information of guideline template in the following link https://se.mathworks.com/help/simulink/m...

6 years ago | 0

Answered
How to change signal value at intermediate steps in Simulink?
Hi Luis, You could try include the sensor1 model in an enabled subsystem, https://www.mathworks.com/help/releases/R2019b/simu...

6 years ago | 0

Answered
Changing frequency of sine wave
Hi Pawel, This example might be useful to solve your question https://www.mathworks.com/help/releases/R2019b/comm/ug/fm-modula...

6 years ago | 0

Answered
How to make a biomass power plant using simulink?
Hi Jaypee, This is a very general question. The design of any industrial process is subject to several conditions, regulations,...

6 years ago | 0

Answered
I cannot open the scope in a simulink model.
Please be more specific with the workflow you are doing.

6 years ago | 0

Answered
How can i adjust the number of data point for plot?
Hi Hyungtae, Probably you would like to apply decimation when plotting the data? If so, open the Scope, then right-click on it ...

6 years ago | 0

Answered
Exportar código de Simulink a MATLAB
Hola Alejandro, No hay manera de convertir a código de MATLAB. Una solución intermedia es convertir el modelo Simulink a un blo...

6 years ago | 1

Answered
Using non reusable functions for referenced models
Hi Caroline, I suggest you work with atomic subsystems. With them, you will have the option of setting the function packaging t...

6 years ago | 0

Answered
How to use XY plot for an array in simulink
Hi Sreeman, How to you want to plot the data from the V vector? Half of the data in X and the other hald in Y? Note that your ...

6 years ago | 0

Load more