Réponse apportée
Simulink:Aerospace 6 DoF Model Singularity with High Altitudes
I do not think it is because of high altitude. Based on the subsystem where the error happens shown in the screenshot, it looks ...

environ 13 ans il y a | 0

Réponse apportée
i want to make an subsystem on or off depend on the condition
See this: http://blogs.mathworks.com/seth/2012/04/09/conditional-execution/

environ 13 ans il y a | 1

Réponse apportée
pulse block in conditional subsystem
Change the Pulse Generator from Time-Based to Sample-based. That way the block will take a fixed-step size and the error should ...

environ 13 ans il y a | 0

Publié le


A Logic Analyzer for MATLAB and Simulink
When I wrote a post about the new features available in MATLAB R2013a, I got a request to provide details on the new Logic...

environ 13 ans il y a

Thumbnail

Réponse apportée
Variant Subsystem variant control condition defined by previous subsystem output
This is not what variant subsystems have been designed for. Use a if-else construct, a Switch, or other options like the ones I ...

environ 13 ans il y a | 1

| A accepté

Réponse apportée
Sampling time must agree
Blocks inside Stateflow Simulink functions must inherit their sample time. This is because there is no way for the engine to kno...

environ 13 ans il y a | 0

| A accepté

Publié le


Referencing Configuration Sets for Model Reference
A few weeks ago I described the possibility of storing more multiple configuration sets in a single model. Today we will...

environ 13 ans il y a

Thumbnail

Réponse apportée
Using variable size matrices in Simulink
You are going in the wrong direction. Going back in the workspace is not the good approach. Instead, create a vector in Simul...

environ 13 ans il y a | 0

| A accepté

Réponse apportée
Implementing a customised counter in SIMULINK using basic blocksets
I would use the discrete time integrator (or the equivalent using Sum and Unit Delay). If the input is zero, it will stay at zer...

environ 13 ans il y a | 0

Réponse apportée
Why is matrix size changing after demux in simulink?
Use a Selector, this will give you a better control over the dimensions.

environ 13 ans il y a | 0

Réponse apportée
SimMechanics - Spherical Joint "kinematic constraint cannot be maintained"
Open the loop by removing one of the joints. Then connect one sensor on each CS that was connected to the loop. Simulate for 0 s...

environ 13 ans il y a | 1

Publié le


A Tweeting S-Function for the Raspberry Pi
I recently bought a Raspberry Pi. After trying a few of the demos included with the Simulink support package for Raspberry...

environ 13 ans il y a

Thumbnail

Réponse apportée
Create an internal loop in Simulink simulation
It looks like you need the While Iterator Subsystem: http://www.mathworks.com/help/simulink/slref/whileiteratorsubsystem.html...

environ 13 ans il y a | 0

Réponse apportée
A resettable Delay in SIMULINK
If you signal is discrete, the Delay block allos you to delay it form a number of samples coming form an input signal: http:/...

environ 13 ans il y a | 1

Réponse apportée
mfile version of Simulink integrator
This should get you started: http://en.wikipedia.org/wiki/Bogacki%E2%80%93Shampine_method You might also be interested to ...

environ 13 ans il y a | 0

Réponse apportée
What is the difference between using Data Store Blocks & Delay block to avoid algebraic loop error
The performance is the same and both options are computationally equivalent. In my opinion here what should guide your choice is...

environ 13 ans il y a | 0

| A accepté

Publié le


Why you should use the Function-Call Split block
Today I had a good discussion with a user regarding the Function-Call Split block introduced in R2010a. On one side, the...

environ 13 ans il y a

Thumbnail

Réponse apportée
find_system versus Simulink.findVars
Simulink.findVars returns a list of simulink.variableusage objects. http://www.mathworks.com/help/simulink/slref/simulink.var...

environ 13 ans il y a | 0

| A accepté

Publié le


Quickly Switching Model Configuration Sets
During the life of a model, you will very likely need to change many configuration parameters to complete different tasks....

environ 13 ans il y a

Thumbnail

Réponse apportée
changing matrix dimension in simulink circuit gives an error....
Specify the dimensions of the ports of the MATLAB function blocks... it will help the engine to propagate the correct dimensions...

environ 13 ans il y a | 0

Réponse apportée
continuous integrator vs discrete-time integrator
What you observe is expected. Different blocks... different results ;-) Use Scope blocks to understand the evolution. As y...

environ 13 ans il y a | 0

| A accepté

Réponse apportée
Systematically pause Simulink model and continue from Matlab command line
In most cases where I have seen users asking to control the execution of a model from MATLAB code, the most appropriate solution...

environ 13 ans il y a | 0

Publié le


MATLAB Tech Talks: Bode Plot
This week we are introducing MATLAB Tech Talks - short videos explaining important engineering concepts in an informal and...

environ 13 ans il y a

Thumbnail

Publié le


Defining custom shortcuts in Simulink
On this blog, I sometimes highlight features that it took me a while to appreciate and include in my daily workflow. I...

environ 13 ans il y a

Thumbnail

Publié le


The Easiest Way to Import Signals Into Your Model
A benefit of Model-Based Design is using the same model to accomplish several tasks: tuning, testing, debugging, combining...

environ 13 ans il y a

Thumbnail

Réponse apportée
Inverse Dynamics is SimMechanics
SimMechanics First Generation can handle inverse dynamics (specifying motion and measure force/torques). Since R2012a, SimMe...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
How to measure force in SimMechanics second generation?
This is not directly possible in R2013a. We are working on that for a future release. As a workaround, you can actuate the de...

plus de 13 ans il y a | 0

Réponse apportée
Understanding the rate transition block in realtime windows target
The "scheduling" chapter of he Simulink Coder documentation will explain you how to control ow the execution of a slow task can ...

plus de 13 ans il y a | 0

| A accepté

Publié le


Model Explorer or Command Line?
Today I would like to ask you a question. This week I received a large model where I wanted to find all the Lookup Table...

plus de 13 ans il y a

Thumbnail

Réponse apportée
Can I modify how a native Simulink block is auto-coded?
The Code Replacement Library seems to be what you are looking for. See this example: http://www.mathworks.com/help/coder/exam...

plus de 13 ans il y a | 0

| A accepté

Charger plus