Answered
Problem with "initial conditions failed to converge" when connecting rotational to translational system
Your code looks good. I think that the issue is that it often (depending on how it is connected) lead to index-2 DAE. The eq...

14 years ago | 2

Answered
Simulink Feedback Loop (Function-Call feedback Latch)
The "Function-Call feedback latch" option is available only if the Inport is inside a function call subsystem. If you want a del...

14 years ago | 0

Answered
Replacement for simset?
The main reason why the 'SrcWorkspace' is not documented anymore is because it is not compatible with the parallel toolbox. T...

14 years ago | 0

| accepted

Answered
Finding the velocity from displacement
I like to use a filtered derivative to do that. A transfer function in the form s/(tau*s+1)^2 with the right "tau" will give...

14 years ago | 0

Answered
How to include fluid inertia in a pipe that oscillates linearly in Simscape/SimHydraulic
With SimHydraulics, the Segmented Pipeline block should help. It simulates a hydraulic pipeline with resistive, fluid inerti...

14 years ago | 0

Published


Model-Based Design of a Dicycle
The other day I found this video: If you watch carefully, you will see around 1:50 that they used Simulink to design...

14 years ago

Thumbnail

Answered
Units problem during STL file importing
Is it possible that you are affected by this bug: http://www.mathworks.com/support/bugreports/675606 If not, please contac...

14 years ago | 0

| accepted

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

Load more