Answered
[Simulink] Discrete equivalent of variable transport delay
The Delay block should do the job: http://www.mathworks.com/help/toolbox/simulink/slref/delay.html You will need to enable...

14 years ago | 0

Answered
Simulink and Variable Sized Global Variables
Simulink supports variable size signals. However you need to specify a maximum size. This topic is covered here: http://ww...

14 years ago | 0

Answered
simmechanics model
There is no block in SimMechanics to direction compute friction forces between wheels and ground. Typically, what you need to...

14 years ago | 0

| accepted

Answered
DriveLine Environment Error
There can be many causes for this error. One example is if there is no mass in your system. Simulink will try to solve "F=ma"...

14 years ago | 0

| accepted

Published


Frames… from signals to blocks
Today I want to talk about an important topic for DSP System Toolbox and Communications Toolbox users: Frame-Based...

14 years ago

Thumbnail

Published


Model-Based Design Dilemma
I am currently working on a model and I have a dilemma. There are two ways I could model my system. I need you to tell me...

14 years ago

Thumbnail

Answered
inserting code in sim-mechanics model
Use Sensor blocks to measure the motion (position, velocity, acceleration of bodies and joints). In Simulink implement any funct...

14 years ago | 1

| accepted

Answered
Simulink - Forward Euler Backward Euler
This really looks like you are affected by the following bug: http://www.mathworks.com/support/bugreports/326058 Try setti...

14 years ago | 1

Answered
I need to detect the zero voltage for switching on the mosfet .i am currently working on quasi resonant converter.do anyone have an idea on how to detect the zero voltage crossing using simulink blocks?
The Hit Crossing block is designed especially to detect zero-crossing. http://www.mathworks.com/help/toolbox/simulink/slref/h...

14 years ago | 1

| accepted

Answered
algebraic loop
I recommend taking the time to go through the algebraic loop section of the doc: http://www.mathworks.com/help/toolbox/simuli...

14 years ago | 0

Published


Mixed-signal modeling with Simulink
If you’re a mixed-signal engineer, we have a Christmas present for you – a new library of mixed-signal blocks and demos...

14 years ago

Thumbnail

Published


Welcome to the Linear Analysis Tool!
Today I am happy to welcome back guest blogger Erman Korkut to talk about the new Linear Analysis Tool. Linear...

14 years ago

Thumbnail

Published


Simulink Student Challenge Results
Do you remember that a few months ago Seth posted a video to launch the first Simulink Student Challenge? We are...

14 years ago

Thumbnail

Published


Initializing buses using a MATLAB Structure
Did you notice that since R2010a it is possible to initialize buses with a MATLAB structure? If you were not aware, here is...

14 years ago

Thumbnail

Answered
problem with sine-wave and scope component in simulink
You might be interested by that: http://blogs.mathworks.com/seth/2009/07/14/refining-the-output-of-a-simulation/

14 years ago | 1

Answered
Integrator problem
This is probably because the input signal is different during minor steps. You can confirm that by trying: - Try ode1 solver....

14 years ago | 0

| accepted

Answered
Motion singularity in simulink
It is not the mass on each joint, but the configuration of the system. For example, a serial manipulator can get into a singular...

14 years ago | 0

Answered
using get_Param inside an S-function
What you are doing (closing the file) should be done in mdlTerminate!

14 years ago | 0

Published


Finding where variables are used from the Model Explorer
In a previous post, we illustrated the Simulink.findVars function. To be honest, I am not very good at remembering the...

14 years ago

Thumbnail

Answered
Simscape problem
Please go through the "Getting Started" section of the Simulink Control Design documentation: http://www.mathworks.com/help/t...

14 years ago | 1

Published


Sample Time Offset
I noticed that many users are not aware that it is possible to specify sample time offsets in Simulink. Scalar Sample...

14 years ago

Thumbnail

Answered
derivative input
Try what the error message says: - If the model is fixed step, try reducing the step size - Try changing the solver toleranc...

14 years ago | 0

Answered
what is the difference between mux and vector concatenate?
Look at the section "Stabilizing Numerical Derivatives in Actuation Signals" in this page to see how to compute velocity and acc...

14 years ago | 2

Answered
Simulink: Default Integration Time
See my latest post on this exact topic: http://blogs.mathworks.com/seth/2011/11/08/auto-solver-settings/

14 years ago | 0

Answered
Problem joining blocks Simscape
Are you connecting the output of the Simulink->PS converter to a source block? I recommend looking at demos to understand the...

14 years ago | 1

| accepted

Published


Auto Solver Settings
When looking at the solver configuration of a new model, you probably noticed that many settings are set to...

14 years ago

Thumbnail

Answered
Different behaviour in model when inserting a scope in the design.
Enable the block Sorted Order and see if it changes when adding the scope or not: http://www.mathworks.com/help/toolbox/simul...

14 years ago | 0

Published


Promoting Block Parameters to a Mask
In R2011b, we are trying to make it easier to interface the parameters of a masked subsystem with the parameters of the...

14 years ago

Thumbnail

Answered
Simulink Missing Reference Error
The Controlled PWM voltage block is sort of special. The 2 sides are independent, so you must have a ground on each side. Add...

14 years ago | 0

| accepted

Answered
Problem with samples
Looks like you need to buffer with a size of 5 and overlap of 3.

14 years ago | 0

| accepted

Load more