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

quasi 15 anni fa | 0

| accettato

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

quasi 15 anni fa | 0

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

quasi 15 anni fa | 0

Pubblicato


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

quasi 15 anni fa

Thumbnail

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

quasi 15 anni fa | 1

Pubblicato


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

quasi 15 anni fa

Thumbnail

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

quasi 15 anni fa | 0

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

quasi 15 anni fa | 2

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

quasi 15 anni fa | 0

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

quasi 15 anni fa | 1

| accettato

Pubblicato


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

quasi 15 anni fa

Thumbnail

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

quasi 15 anni fa | 0

Pubblicato


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

quasi 15 anni fa

Thumbnail

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

quasi 15 anni fa | 0

| accettato

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

quasi 15 anni fa | 0

| accettato

Risposto
Why would a Simulink disabled block still be executed?
Try setting the diagnostic "Underspecified initialization detection" to Simplified, this might help: http://www.mathworks.com...

quasi 15 anni fa | 0

Pubblicato


Dynamics Mask Icons for Subsystem Variants
Today I will illustrate how to combine two features I like: Subsystem Variants and Masking. The Question I created a...

quasi 15 anni fa

Thumbnail

Risposto
SIMULINK: Using FMINSEARCH online for xpctarget
In simulation, you can call fminsearch or fmincon from MATLAB S-function of from the MATLAB function as extrinsic. You cannot...

quasi 15 anni fa | 0

Risposto
SIMULINK: Using FMINSEARCH online for xpctarget
In simulation, you can call fminsearch or fmincon from MATLAB S-function of from the MATLAB function as extrinsic. You cannot...

quasi 15 anni fa | 0

Pubblicato


Generating Code for Real-Time Multicore Systems
Do you generate code to be executed on a multi-core processor? Wouldn't it be cool if you could decide which part of the...

quasi 15 anni fa

Thumbnail

Pubblicato


Do YOU want to win the Simulink Student Challenge?
A couple weeks back MathWorks announced the Simulink Student Challenge. We have seen some crazy great things developed in...

circa 15 anni fa

Thumbnail

Risposto
Trying to create an electrical circuit
The error is clear... "Check for missing reference node" means that your circuit does not have a reference. Add this block to gr...

circa 15 anni fa | 2

Risposto
traffic modelling
SimEvents is a very nice tool to model traffic... see this example: http://www.mathworks.com/matlabcentral/fileexchange/20287...

circa 15 anni fa | 1

| accettato

Pubblicato


Continuous sample time inside For Each Subsystem
Back in 2010, I wrote a post explaining how to apply a scalar algorithm to a vector using the For Each subsystem. At that...

circa 15 anni fa

Thumbnail

Risposto
adding controls to a non-linear simscape thermal model
- Yes you can apply any control algorithm you can think of on the Simscape model - You typically linearize the model because ...

circa 15 anni fa | 0

| accettato

Risposto
How to run simulation in real time
To slowdown a simulation to something close to real-time, try my submission here: http://www.mathworks.com/matlabcentral/fileex...

circa 15 anni fa | 2

| accettato

Pubblicato


Simulink Student Challenge: $1000 in prizes!
Have you done something super-cool in Simulink?Can you make a short video of it and share it on YouTube?Are you a...

circa 15 anni fa

Thumbnail

Risposto
converter for simmech to simelec
To "convert" mechanical power into electricity and vice-versa, use a converter block: http://www.mathworks.com/help/toolbox/p...

circa 15 anni fa | 0

Risposto
algebraic loop and Simscape ?
2D and 3D physical systems like a pendulum on cart are most easily represented by a Differential Algebraic Equations (DAE), and ...

circa 15 anni fa | 0

| accettato

Pubblicato


Troubleshooting the Transport Delay Block
Yesterday I came across this model: At first look, one might think that these two implementations should give the...

circa 15 anni fa

Thumbnail

Carica altro