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

5 years ago | 0

Answered
Difference between Matlab and Wolfram Alpha
Hi Niklas, You need to set 'ReturnConditions' to true to return any parameters in the solution and conditions on the solution...

5 years ago | 0

| accepted

Answered
How can i force a new simulation if there is a warning
Hi, The commands try/catch are used for executing statements and catch errors messages not warning messages. Since getting a w...

5 years ago | 0

| accepted

Answered
Atomic subsystem results into data dependency violation
When converting a virtual subsystem into an atomic block, you are treating that block as a function where all its components are...

5 years ago | 0

Answered
Graficar un vector en simulink
As a first run, try to use a block from the Source section in the library, called 'Repeating Sequence' or 'Repeating Sequence In...

5 years ago | 0

Answered
How to make tests run in test assessment block if the tests are identical?
Hi Sanket, The test sequence block has one test formed by a set of steps arranged in hierarchy. Here you have one test per harn...

5 years ago | 0

Answered
Error in Test Harness Generation in SIL Verification Mode
I assume that the subsystem is part of a Simulink model, correct? Before creating the harness for the subsystem, make sure that ...

5 years ago | 1

| accepted

Answered
How to use Variant in stateflow? Means same like Variant subsystem in simulink.
The workflow is similar to when authoring variant models or variant subsystems. See the following link: https://se.mathworks.co...

5 years ago | 0

Answered
monitoring a signal trough time
Hi Sander, I think that what you are looking for is detailed in the following documentation https://se.mathworks.com/help/stat...

5 years ago | 0

Answered
How to generate a quadratic signal in Simulink ?
Hi Simon, What if you try using the block Polynomial (you find it in the section 'Math Operations', in Simulink Library). With ...

5 years ago | 1

Answered
Export requirements as document as at the training
You can go to the Requirement Editor (Apps tab, Requirement Manager, Requirement Editor) and go to the Report tab and click Gene...

5 years ago | 0

Answered
How to Open Simulink Model Properties in fullscreen window?
You can also have access to the model callbacks by typing Ctrl+Shift+I, it opens the model Property Inspector on the right-hand ...

5 years ago | 0

| accepted

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

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

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

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

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

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

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

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

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

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

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

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

5 years ago | 0

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

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

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

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

5 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

Load more